summaryrefslogtreecommitdiff
path: root/demos/host/src/msc_host_app.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/host/src/msc_host_app.c')
-rw-r--r--demos/host/src/msc_host_app.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/host/src/msc_host_app.c b/demos/host/src/msc_host_app.c
index 5c1cce4e9..62d3b0a35 100644
--- a/demos/host/src/msc_host_app.c
+++ b/demos/host/src/msc_host_app.c
@@ -60,7 +60,7 @@ OSAL_TASK_DEF(msc_host_app_task, 512, MSC_APP_TASK_PRIO);
TUSB_CFG_ATTR_USBRAM static FATFS fatfs[TUSB_CFG_HOST_DEVICE_MAX];
//--------------------------------------------------------------------+
-// tinyusb callback (ISR context)
+// tinyusb callbacks
//--------------------------------------------------------------------+
void tusbh_msc_mounted_cb(uint8_t dev_addr)
{
@@ -130,6 +130,7 @@ void tusbh_msc_unmounted_cb(uint8_t dev_addr)
}
}
+// invoked ISR context
void tusbh_msc_isr(uint8_t dev_addr, tusb_event_t event, uint32_t xferred_bytes)
{
(void) dev_addr;
@@ -138,7 +139,7 @@ void tusbh_msc_isr(uint8_t dev_addr, tusb_event_t event, uint32_t xferred_bytes)
}
//--------------------------------------------------------------------+
-// IMPLEMENTATION
+// APPLICATION CODE
//--------------------------------------------------------------------+
void msc_host_app_init(void)
{