rename tud_configured() to mounted()

This commit is contained in:
hathach
2018-03-01 23:43:03 +07:00
parent 04cace7619
commit 0afa0ce4cc
6 changed files with 12 additions and 11 deletions

View File

@@ -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();