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

@@ -86,7 +86,7 @@
#if BOARD == 0
#error BOARD is not defined or supported yet
#elif BOARD == BOARD_NGX4330
#include "ngx/board_ngx4330.h"`
#include "ngx/board_ngx4330.h"
#elif BOARD == BOARD_LPCXPRESSO1347
#include "lpcxpresso/board_lpcxpresso1347.h"
#elif BOARD == BOARD_RF1GHZNODE

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