more clean up

This commit is contained in:
hathach
2018-07-13 14:26:40 +07:00
parent ffdd925854
commit 584b6f716d
5 changed files with 17 additions and 17 deletions

View File

@@ -111,15 +111,17 @@ int main(void)
//--------------------------------------------------------------------+
// tinyusb callbacks
//--------------------------------------------------------------------+
void tud_mount_cb(uint8_t rhport)
void tud_mount_cb(void)
{
uint8_t rhport = 0; // TODO remove
cdc_serial_app_mount(rhport);
keyboard_app_mount(rhport);
msc_app_mount(rhport);
}
void tud_umount_cb(uint8_t rhport)
void tud_umount_cb(void)
{
uint8_t rhport = 0; // TODO remove
cdc_serial_app_umount(rhport);
keyboard_app_umount(rhport);
msc_app_umount(rhport);