Browse Source

return false to stall correctly

fix/just_return_false
Jack Humbert 2 years ago
parent
commit
832661f6b0
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      tmk_core/protocol/chibios/usb_main.c

+ 1
- 2
tmk_core/protocol/chibios/usb_main.c View File

@ -579,8 +579,7 @@ static bool usb_request_hook_cb(USBDriver *usbp) {
#endif
default:
usbSetupTransfer(usbp, NULL, 0, NULL);
return TRUE;
return FALSE;
break;
}
break;


Loading…
Cancel
Save