diff options
| author | hathach <[email protected]> | 2018-07-13 14:26:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-07-13 14:44:44 +0700 |
| commit | 584b6f716dca8831b0483641d1a4e779b4bd5694 (patch) | |
| tree | c2149afe4e010b79f013782d273db2596e742b22 /examples/obsolete/device/src | |
| parent | ffdd925854c3fda233f41c929b5cf115cfdb7a62 (diff) | |
more clean up
Diffstat (limited to 'examples/obsolete/device/src')
| -rw-r--r-- | examples/obsolete/device/src/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/obsolete/device/src/main.c b/examples/obsolete/device/src/main.c index 5e053aa57..00633335a 100644 --- a/examples/obsolete/device/src/main.c +++ b/examples/obsolete/device/src/main.c @@ -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); |
