diff options
| author | hathach <[email protected]> | 2018-03-01 23:43:03 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-01 23:43:03 +0700 |
| commit | 0afa0ce4ccf493e7684c753ab0af2411eb198f14 (patch) | |
| tree | 00ffd94382e06383cd5d71a20701fcb27a62016f /tinyusb/class/hid_device.c | |
| parent | 04cace7619596377b38914c375b424b9884e4baa (diff) | |
rename tud_configured() to mounted()
Diffstat (limited to 'tinyusb/class/hid_device.c')
| -rw-r--r-- | tinyusb/class/hid_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/class/hid_device.c b/tinyusb/class/hid_device.c index 5f8d9b53f..d06f71925 100644 --- a/tinyusb/class/hid_device.c +++ b/tinyusb/class/hid_device.c @@ -120,7 +120,7 @@ bool tud_hid_keyboard_busy(uint8_t coreid) tusb_error_t tud_hid_keyboard_send(uint8_t coreid, hid_keyboard_report_t const *p_report)
{
- ASSERT(tud_configured(coreid), TUSB_ERROR_USBD_DEVICE_NOT_CONFIGURED);
+ ASSERT(tud_mounted(coreid), TUSB_ERROR_USBD_DEVICE_NOT_CONFIGURED);
hidd_interface_t * p_kbd = &keyboardd_data; // TODO &keyboardd_data[coreid];
@@ -143,7 +143,7 @@ bool tusbd_hid_mouse_is_busy(uint8_t coreid) tusb_error_t tusbd_hid_mouse_send(uint8_t coreid, hid_mouse_report_t const *p_report)
{
- ASSERT(tud_configured(coreid), TUSB_ERROR_USBD_DEVICE_NOT_CONFIGURED);
+ ASSERT(tud_mounted(coreid), TUSB_ERROR_USBD_DEVICE_NOT_CONFIGURED);
hidd_interface_t * p_mouse = &moused_data; // TODO &keyboardd_data[coreid];
|
