diff options
Diffstat (limited to 'stmhal/usb.c')
-rw-r--r-- | stmhal/usb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/stmhal/usb.c b/stmhal/usb.c index aa006b8b8f..79f9b85f35 100644 --- a/stmhal/usb.c +++ b/stmhal/usb.c @@ -102,9 +102,7 @@ void usb_vcp_send_strn_cooked(const char *str, int len) { void usb_hid_send_report(uint8_t *buf) { #ifdef USE_DEVICE_MODE - #if 0 - USBD_HID_SendReport(&USB_OTG_Core, buf, 4); - #endif + USBD_HID_SendReport(&hUSBDDevice, buf, 4); #endif } |