summaryrefslogtreecommitdiff
path: root/examples/host/msc_file_explorer/src/main.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2022-11-21 11:52:51 +0700
committerhathach <[email protected]>2022-11-21 11:52:51 +0700
commitcab65acc464ca5876bd3682587ee2670268b13d2 (patch)
tree1124d5ee60be6e9d6d09c8cc71d696fe37cfc935 /examples/host/msc_file_explorer/src/main.c
parent51873cd1be5291c15a24054e464d98d4953eebfa (diff)
add pwd
Diffstat (limited to 'examples/host/msc_file_explorer/src/main.c')
-rw-r--r--examples/host/msc_file_explorer/src/main.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/examples/host/msc_file_explorer/src/main.c b/examples/host/msc_file_explorer/src/main.c
index f46e5092b..652986b7c 100644
--- a/examples/host/msc_file_explorer/src/main.c
+++ b/examples/host/msc_file_explorer/src/main.c
@@ -43,7 +43,7 @@ int main(void)
{
board_init();
- printf("TinyUSB Host MSC Explorer Example\r\n");
+ printf("TinyUSB Host MassStorage Explorer Example\r\n");
// init host stack on configured roothub port
tuh_init(BOARD_TUH_RHPORT);
@@ -67,14 +67,12 @@ int main(void)
void tuh_mount_cb(uint8_t dev_addr)
{
- // application set-up
- printf("A device with address %d is mounted\r\n", dev_addr);
+ (void) dev_addr;
}
void tuh_umount_cb(uint8_t dev_addr)
{
- // application tear-down
- printf("A device with address %d is unmounted \r\n", dev_addr);
+ (void) dev_addr;
}