8000 Update USBHID.cpp · tobozo/arduino-esp32@2cdbd81 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2cdbd81

Browse files
authored
Update USBHID.cpp
1 parent 1d15c56 commit 2cdbd81

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

libraries/USB/src/USBHID.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,9 +341,7 @@ bool USBHID::SendReport(uint8_t id, const void* data, size_t len, uint32_t timeo
341341
}
342342
}
343343
xSemaphoreGive(tinyusb_hid_device_input_mutex);
344-
if (tinyusb_hid_device_input_sem) {
345-
xSemaphoreGive(tinyusb_hid_device_input_sem);
346-
}
344+
xSemaphoreGive(tinyusb_hid_device_input_sem);
347345
return res;
348346
}
349347

0 commit comments

Comments
 (0)
0