change class (hid/cdc) _mounted_isr to _mounted_cb

This commit is contained in:
hathach
2013-07-04 09:45:20 +07:00
parent 544b48183a
commit c5afb9d50f
13 changed files with 22 additions and 22 deletions

View File

@@ -58,7 +58,7 @@ static uint8_t buffer_in[64] TUSB_CFG_ATTR_USBRAM;
//--------------------------------------------------------------------+
// INTERNAL OBJECT & FUNCTION DECLARATION
//--------------------------------------------------------------------+
void tusbh_cdc_mounted_isr(uint8_t dev_addr)
void tusbh_cdc_mounted_cb(uint8_t dev_addr)
{
// application set-up
osal_queue_flush(queue_hdl);

View File

@@ -67,7 +67,7 @@ static inline void process_kbd_report(tusb_keyboard_report_t const * report);
//--------------------------------------------------------------------+
// tinyusb callback (ISR context)
//--------------------------------------------------------------------+
void tusbh_hid_keyboard_mounted_isr(uint8_t dev_addr)
void tusbh_hid_keyboard_mounted_cb(uint8_t dev_addr)
{
// application set-up
osal_queue_flush(queue_kbd_hdl);

View File

@@ -67,7 +67,7 @@ static inline void process_mouse_report(tusb_mouse_report_t const * p_report);
//--------------------------------------------------------------------+
// tinyusb callback (ISR context)
//--------------------------------------------------------------------+
void tusbh_hid_mouse_mounted_isr(uint8_t dev_addr)
void tusbh_hid_mouse_mounted_cb(uint8_t dev_addr)
{
// application set-up
osal_queue_flush(queue_mouse_hdl);