diff options
| author | Dien-Nhung Nguyen-Phu <kein@kienlab.com> | 2024-07-11 21:34:07 +0700 |
|---|---|---|
| committer | Dien-Nhung Nguyen-Phu <kein@kienlab.com> | 2024-07-11 22:18:56 +0700 |
| commit | c3912e01a2767334103cd139d875d50c834f3f05 (patch) | |
| tree | 9db23b8e6cdfb06d8bab77e83224e604f20c4629 /src/main.c | |
| parent | 49fc27a23e0f5ca46337493cdac02ee116f786e3 (diff) | |
usb: add cdc-acm serial and write to flash
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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();
|