aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorDien-Nhung Nguyen-Phu <kein@kienlab.com>2024-07-11 21:34:07 +0700
committerDien-Nhung Nguyen-Phu <kein@kienlab.com>2024-07-11 22:18:56 +0700
commitc3912e01a2767334103cd139d875d50c834f3f05 (patch)
tree9db23b8e6cdfb06d8bab77e83224e604f20c4629 /src/main.c
parent49fc27a23e0f5ca46337493cdac02ee116f786e3 (diff)
usb: add cdc-acm serial and write to flash
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index f2e788c..cec43be 100644
--- a/src/main.c
+++ b/src/main.c
@@ -175,6 +175,7 @@ int main()
debug_init();
PRINT("\nDebug console is on UART%d\n", DEBUG);
+ cdc_onWrite(usb_receive);
hiddev_onWrite(usb_receive);
usb_start();