From 6d0cb96c85ab941428284033e09a99fd4fe88bba Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 4 Jul 2018 16:41:26 +0700 Subject: [PATCH] hack to call tusb_task() in the mainloop --- main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/main.c b/main.c index cbc0b093c3..868a7b7528 100644 --- a/main.c +++ b/main.c @@ -230,6 +230,11 @@ bool start_mp(safe_mode_t safe_mode) { serial_connected_before_animation = serial_connected(); tick_rgb_status_animation(&animation); + + #ifdef NRF52840_XXAA + extern void tusb_task(void); + tusb_task(); + #endif } }