diff options
Diffstat (limited to 'firmware/usbstack/usb_class_driver.h')
-rw-r--r-- | firmware/usbstack/usb_class_driver.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/usbstack/usb_class_driver.h b/firmware/usbstack/usb_class_driver.h index 631d5a3bc1..beeec86fb7 100644 --- a/firmware/usbstack/usb_class_driver.h +++ b/firmware/usbstack/usb_class_driver.h | |||
@@ -54,6 +54,12 @@ struct usb_class_driver { | |||
54 | able to handle it, it should ack the request, and return true. Otherwise | 54 | able to handle it, it should ack the request, and return true. Otherwise |
55 | it should return false. */ | 55 | it should return false. */ |
56 | bool (*control_request)(struct usb_ctrlrequest* req); | 56 | bool (*control_request)(struct usb_ctrlrequest* req); |
57 | |||
58 | #ifdef HAVE_HOTSWAP | ||
59 | /* Tells the driver that a hotswappable disk/card was inserted or | ||
60 | extracted */ | ||
61 | void (*notify_hotswap)(int volume, bool inserted); | ||
62 | #endif | ||
57 | }; | 63 | }; |
58 | 64 | ||
59 | #endif | 65 | #endif |