summaryrefslogtreecommitdiff
path: root/supervisor/shared/usb/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'supervisor/shared/usb/usb.c')
-rw-r--r--supervisor/shared/usb/usb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/supervisor/shared/usb/usb.c b/supervisor/shared/usb/usb.c
index 3d76e7000..ff08ade18 100644
--- a/supervisor/shared/usb/usb.c
+++ b/supervisor/shared/usb/usb.c
@@ -106,25 +106,21 @@ void usb_irq_handler(void) {
// Invoked when device is mounted
void tud_mount_cb(void) {
usb_msc_mount();
- _workflow_active = true;
}
// Invoked when device is unmounted
void tud_umount_cb(void) {
usb_msc_umount();
- _workflow_active = false;
}
// Invoked when usb bus is suspended
// remote_wakeup_en : if host allows us to perform remote wakeup
// USB Specs: Within 7ms, device must draw an average current less than 2.5 mA from bus
void tud_suspend_cb(bool remote_wakeup_en) {
- _workflow_active = false;
}
// Invoked when usb bus is resumed
void tud_resume_cb(void) {
- _workflow_active = true;
}
// Invoked when cdc when line state changed e.g connected/disconnected