summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/host/cdc_msc_hid/src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/host/cdc_msc_hid/src/main.c b/examples/host/cdc_msc_hid/src/main.c
index c6ab54682..84e88e509 100644
--- a/examples/host/cdc_msc_hid/src/main.c
+++ b/examples/host/cdc_msc_hid/src/main.c
@@ -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) )
{