diff options
| author | sakumisu <[email protected]> | 2024-08-09 22:47:25 +0800 |
|---|---|---|
| committer | sakumisu <[email protected]> | 2024-08-09 22:47:25 +0800 |
| commit | 72e8eb7d84a0d6d3145b70d193c72387fa661ad6 (patch) | |
| tree | 8c23ef600ab29ef54d9117d6a9071167d41ec0e9 | |
| parent | 18d9c21553b3295c49990cce967468f80a2ecb08 (diff) | |
feat(demo/msc_ram_template): add api for msc polling
| -rw-r--r-- | demo/msc_ram_template.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/demo/msc_ram_template.c b/demo/msc_ram_template.c index 99802b9f..00810635 100644 --- a/demo/msc_ram_template.c +++ b/demo/msc_ram_template.c @@ -163,3 +163,10 @@ void msc_ram_init(uint8_t busid, uint32_t reg_base) usbd_initialize(busid, reg_base, usbd_event_handler); } + +#if defined(CONFIG_USBDEV_MSC_POLLING) +void msc_ram_polling(uint8_t busid) +{ + usbd_msc_polling(busid); +} +#endif
\ No newline at end of file |
