aboutsummaryrefslogtreecommitdiff
path: root/src/usb/setup.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/usb/setup.c
parent49fc27a23e0f5ca46337493cdac02ee116f786e3 (diff)
usb: add cdc-acm serial and write to flash
Diffstat (limited to 'src/usb/setup.c')
-rw-r--r--src/usb/setup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usb/setup.c b/src/usb/setup.c
index 609267a..d53c318 100644
--- a/src/usb/setup.c
+++ b/src/usb/setup.c
@@ -125,6 +125,8 @@ void usb_start() {
for the first interface (not the interface number) */
hiddev_init();
+ cdc_acm_init();
+
init();
PFIC_EnableIRQ(USB_IRQn);
} \ No newline at end of file