8000 fix macOS HID compatibility · usmandroid/esp32-snippets@bac1b24 · GitHub
[go: up one dir, main page]

Skip to content

Commit bac1b24

Browse files
committed
fix macOS HID compatibility
1 parent b1ef951 commit bac1b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp_utils/BLEHIDDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ BLECharacteristic* BLEHIDDevice::inputReport(uint8_t reportID) {
118118

119119
uint8_t desc1_val[] = {reportID, 0x01};
120120
inputReportDescriptor->setValue((uint8_t*)desc1_val, 2);
121-
inputReportCharacteristic->addDescriptor(p2902;
121+
inputReportCharacteristic->addDescriptor(p2902);
122122
inputReportCharacteristic->addDescriptor(inputReportDescriptor);
123123

124124
return inputReportCharacteristic;

0 commit comments

Comments
 (0)
0