aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 21fc948..4f46181 100644
--- a/src/main.c
+++ b/src/main.c
@@ -10,6 +10,8 @@
#include "ble/setup.h"
#include "ble/profile.h"
+#include "usb/usb.h"
+
#define FB_WIDTH (LED_COLS * 4)
#define SCROLL_IRATIO (16)
#define SCAN_F (2000)
@@ -139,6 +141,8 @@ int main()
debug_init();
PRINT("\nDebug console is on UART%d\n", DEBUG);
+ usb_start();
+
led_init();
TMR0_TimerInit(SCAN_T / 2);
TMR0_ITCfg(ENABLE, TMR0_3_IT_CYC_END);