working on migrate hci from uart to usb
This commit is contained in:
@ -29,6 +29,8 @@
|
||||
|
||||
#include "app_timer.h"
|
||||
|
||||
#include "tusb.h"
|
||||
|
||||
#define APP_TIMER_PRESCALER 0
|
||||
|
||||
#define IRQ_ENABLED 0x01 /**< Field identifying if an interrupt is enabled. */
|
||||
@ -122,6 +124,9 @@ static void wait_for_events(void)
|
||||
// Event received. Process it from the scheduler.
|
||||
app_sched_execute();
|
||||
|
||||
// USB stack
|
||||
tusb_task();
|
||||
|
||||
if ((m_update_status == BOOTLOADER_COMPLETE) ||
|
||||
(m_update_status == BOOTLOADER_TIMEOUT) ||
|
||||
(m_update_status == BOOTLOADER_RESET))
|
||||
|
Reference in New Issue
Block a user