1 parent ac3eec7 commit 73065c3Copy full SHA for 73065c3
1 file changed
src/include/NimBLEWrapper.hpp
@@ -44,7 +44,7 @@
44
// Constants
45
//------------------------------------------------------------------------------
46
47
-#define HID_REPORT_COUNT 10
+#define NIMBLE_HID_REPORT_COUNT 10
48
49
#define EMPTY_ble_gatt_cpfd { \
50
.format = 0, \
@@ -816,7 +816,7 @@ struct BLEHIDService
816
}
817
818
private:
819
- inline static ble_gatt_chr_def chr_set[4 + HID_REPORT_COUNT + 1]{};
+ inline static ble_gatt_chr_def chr_set[4 + NIMBLE_HID_REPORT_COUNT + 1]{};
820
static int report_access_fn(
821
uint16_t conn_handle,
822
uint16_t attr_handle,
0 commit comments