diff options
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r-- | firmware/export/usb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index ff85cb99ce..0c74efc9e2 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -178,6 +178,9 @@ struct usb_transfer_completion_event_data | |||
178 | void usb_init(void) INIT_ATTR; | 178 | void usb_init(void) INIT_ATTR; |
179 | /* target must implement this to enable/disable the usb transceiver/core */ | 179 | /* target must implement this to enable/disable the usb transceiver/core */ |
180 | void usb_enable(bool on); | 180 | void usb_enable(bool on); |
181 | /* when one or more driver requires exclusive mode, this is called after all threads have acknowledged | ||
182 | * exclusive mode and disk have been umounted; otherwise it is called immediately after host has | ||
183 | * been detected */ | ||
181 | void usb_attach(void); | 184 | void usb_attach(void); |
182 | /* enable usb detection monitoring; before this function is called, all usb | 185 | /* enable usb detection monitoring; before this function is called, all usb |
183 | * detection changes are ignored */ | 186 | * detection changes are ignored */ |