Skip to content

Commit

Permalink
Fix possible compile issue when using Pico SDK 1.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoquesada committed Jan 10, 2025
1 parent 6efa712 commit 6cbf23e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/bluepad32/bt/uni_bt_le.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,13 @@ static void uni_hids_client_packet_handler(uint8_t packet_type, uint16_t channel
logi("Reports enabled\n");
}
break;
#if 0 // Does not compile on Pico SDK 1.5.1. Enable it only if needed.
case GATTSERVICE_SUBEVENT_HID_REPORT_WRITTEN:
// Called when a client a hid report was written.
// E.g.: "set rumble" was sent to the gamepad.
// TODO: Inform the device that it is ready to write another hid report?
break;
#endif
default:
logi("Unsupported gatt client event: 0x%02x\n", hci_event_gattservice_meta_get_subevent_code(packet));
break;
Expand Down

0 comments on commit 6cbf23e

Please sign in to comment.