diff options
| author | hathach <[email protected]> | 2018-03-01 12:20:35 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-01 12:20:35 +0700 |
| commit | 2806120400f4162516c4c9de030e7d0d5d5bc2c7 (patch) | |
| tree | 73afbdde4efd946eb44cd1a87d55104793e5cee5 /demos/host | |
| parent | 7add7337babf0af8f4f2bbd1127e57dc0d580c1d (diff) | |
more clean up
Diffstat (limited to 'demos/host')
| -rw-r--r-- | demos/host/src/keyboard_host_app.c | 2 | ||||
| -rw-r--r-- | demos/host/src/mouse_host_app.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/demos/host/src/keyboard_host_app.c b/demos/host/src/keyboard_host_app.c index bfc4bd585..d538c58c4 100644 --- a/demos/host/src/keyboard_host_app.c +++ b/demos/host/src/keyboard_host_app.c @@ -82,7 +82,7 @@ void tuh_hid_keyboard_isr(uint8_t dev_addr, tusb_event_t event) switch(event)
{
case TUSB_EVENT_XFER_COMPLETE:
- (void) osal_queue_send(queue_kbd_hdl, &usb_keyboard_report);
+ osal_queue_send(queue_kbd_hdl, &usb_keyboard_report);
tuh_hid_keyboard_get_report(dev_addr, (uint8_t*) &usb_keyboard_report);
break;
diff --git a/demos/host/src/mouse_host_app.c b/demos/host/src/mouse_host_app.c index 7754bb08b..85006af3f 100644 --- a/demos/host/src/mouse_host_app.c +++ b/demos/host/src/mouse_host_app.c @@ -81,7 +81,7 @@ void tuh_hid_mouse_isr(uint8_t dev_addr, tusb_event_t event) switch(event)
{
case TUSB_EVENT_XFER_COMPLETE:
- (void) osal_queue_send(queue_mouse_hdl, &usb_mouse_report);
+ osal_queue_send(queue_mouse_hdl, &usb_mouse_report);
(void) tuh_hid_mouse_get_report(dev_addr, (uint8_t*) &usb_mouse_report);
break;
|
