more API rename

This commit is contained in:
hathach
2021-02-24 14:07:33 +07:00
parent f1148ca5ac
commit 68fa17e17c
4 changed files with 20 additions and 10 deletions

View File

@@ -257,7 +257,7 @@ void hid_task(void)
uint8_t const addr = 1;
#if CFG_TUH_HID_KEYBOARD
if ( tuh_hid_keyboard_is_mounted(addr) )
if ( tuh_hid_keyboard_mounted(addr) )
{
if ( !tuh_hid_keyboard_is_busy(addr) )
{
@@ -268,7 +268,7 @@ void hid_task(void)
#endif
#if CFG_TUH_HID_MOUSE
if ( tuh_hid_mouse_is_mounted(addr) )
if ( tuh_hid_mouse_mounted(addr) )
{
if ( !tuh_hid_mouse_is_busy(addr) )
{