Skip to content

Commit 73065c3

Browse files
committed
Remove compiler warning
1 parent ac3eec7 commit 73065c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/include/NimBLEWrapper.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
// Constants
4545
//------------------------------------------------------------------------------
4646

47-
#define HID_REPORT_COUNT 10
47+
#define NIMBLE_HID_REPORT_COUNT 10
4848

4949
#define EMPTY_ble_gatt_cpfd { \
5050
.format = 0, \
@@ -816,7 +816,7 @@ struct BLEHIDService
816816
}
817817

818818
private:
819-
inline static ble_gatt_chr_def chr_set[4 + HID_REPORT_COUNT + 1]{};
819+
inline static ble_gatt_chr_def chr_set[4 + NIMBLE_HID_REPORT_COUNT + 1]{};
820820
static int report_access_fn(
821821
uint16_t conn_handle,
822822
uint16_t attr_handle,

0 commit comments

Comments
 (0)