summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <thach@tinyusb.org>2018-07-04 16:41:26 +0700
committerhathach <thach@tinyusb.org>2018-07-04 16:41:26 +0700
commit6d0cb96c85ab941428284033e09a99fd4fe88bba (patch)
treefb04c77be4e9d6928e1511c3409b95771366cf05
parent7fff7f5e70c652ccffce2a598a4e3b7df92ad67b (diff)
hack to call tusb_task() in the mainloop
-rw-r--r--main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.c b/main.c
index cbc0b093c..868a7b752 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
}
}