mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/usb/usbus_hid: fix compilation with clang
Well, it is actually a cosmetic issue. But I agree with clang that it is ugly enough to refuse compiling over it :D
This commit is contained in:
parent
a4e4c1f2a7
commit
dd7bec50b5
@ -188,7 +188,7 @@ static int _control_handler(usbus_t *usbus, usbus_handler_t *handler,
|
||||
case USB_HID_REQUEST_GET_PROTOCOL:
|
||||
break;
|
||||
case USB_HID_REQUEST_SET_REPORT:
|
||||
if ((state == USBUS_CONTROL_REQUEST_STATE_OUTDATA)) {
|
||||
if (state == USBUS_CONTROL_REQUEST_STATE_OUTDATA) {
|
||||
size_t size = 0;
|
||||
uint8_t *data = usbus_control_get_out_data(usbus, &size);
|
||||
if (size > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user