change class (hid/cdc) _mounted_isr to _mounted_cb
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user