rename tud_configured() to mounted()
This commit is contained in:
@@ -126,7 +126,7 @@ tusb_error_t keyboard_device_subtask(void)
|
||||
|
||||
osal_task_delay(50);
|
||||
|
||||
if ( tud_configured(0) && !tud_hid_keyboard_busy(0) )
|
||||
if ( tud_mounted(0) && !tud_hid_keyboard_busy(0) )
|
||||
{
|
||||
static uint32_t button_mask = 0;
|
||||
uint32_t new_button_mask = board_buttons();
|
||||
|
||||
Reference in New Issue
Block a user