clean up example
This commit is contained in:
@@ -114,7 +114,7 @@ bool tud_hid_keyboard_busy(uint8_t port)
|
||||
|
||||
tusb_error_t tud_hid_keyboard_send(uint8_t port, hid_keyboard_report_t const *p_report)
|
||||
{
|
||||
ASSERT(tud_mounted(port), TUSB_ERROR_USBD_DEVICE_NOT_CONFIGURED);
|
||||
ASSERT(tud_mounted(), TUSB_ERROR_USBD_DEVICE_NOT_CONFIGURED);
|
||||
|
||||
hidd_interface_t * p_kbd = &keyboardd_data; // TODO &keyboardd_data[port];
|
||||
|
||||
@@ -137,7 +137,7 @@ bool tud_hid_mouse_is_busy(uint8_t port)
|
||||
|
||||
tusb_error_t tud_hid_mouse_send(uint8_t port, hid_mouse_report_t const *p_report)
|
||||
{
|
||||
ASSERT(tud_mounted(port), TUSB_ERROR_USBD_DEVICE_NOT_CONFIGURED);
|
||||
ASSERT(tud_mounted(), TUSB_ERROR_USBD_DEVICE_NOT_CONFIGURED);
|
||||
|
||||
hidd_interface_t * p_mouse = &moused_data; // TODO &keyboardd_data[port];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user