diff options
| author | HiFiPhile <[email protected]> | 2025-01-29 15:28:19 +0100 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-01-29 15:28:19 +0100 |
| commit | f43100bdfd5611c2ba463a05960ea5569a53a20b (patch) | |
| tree | 70529e3db5a7b5f24925bd31dffa9e4b3ac4371d /examples/device/cdc_msc_freertos/src/main.c | |
| parent | 04b9e203107ef5f8b9d44f9b8a302cf6504ae3ae (diff) | |
cdc_msc_freertos: add async IO support.
Signed-off-by: HiFiPhile <[email protected]>
Diffstat (limited to 'examples/device/cdc_msc_freertos/src/main.c')
| -rw-r--r-- | examples/device/cdc_msc_freertos/src/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/device/cdc_msc_freertos/src/main.c b/examples/device/cdc_msc_freertos/src/main.c index c51e8ea81..4dada9801 100644 --- a/examples/device/cdc_msc_freertos/src/main.c +++ b/examples/device/cdc_msc_freertos/src/main.c @@ -72,7 +72,7 @@ static uint32_t blink_interval_ms = BLINK_NOT_MOUNTED; static void usb_device_task(void *param); void led_blinking_task(void* param); void cdc_task(void *params); - +extern void msc_disk_init(void); //--------------------------------------------------------------------+ // Main //--------------------------------------------------------------------+ @@ -123,6 +123,7 @@ static void usb_device_task(void *param) { board_init_after_tusb(); } + msc_disk_init(); // RTOS forever loop while (1) { // put this thread to waiting state until there is new events |
