add pwd
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user