diff options
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r-- | firmware/export/usb.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index a6cfad5889..0a0539a622 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -33,8 +33,11 @@ | |||
33 | enum { | 33 | enum { |
34 | USB_INSERTED, /* Event+State */ | 34 | USB_INSERTED, /* Event+State */ |
35 | USB_EXTRACTED, /* Event+State */ | 35 | USB_EXTRACTED, /* Event+State */ |
36 | #ifdef HAVE_USB_POWER | 36 | #if defined(HAVE_USB_POWER) || defined(USB_DETECT_BY_DRV) |
37 | USB_POWERED, /* State */ | 37 | USB_POWERED, /* Event+State */ |
38 | #endif | ||
39 | #ifdef USB_DETECT_BY_DRV | ||
40 | USB_UNPOWERED, /* Event */ | ||
38 | #endif | 41 | #endif |
39 | #ifdef HAVE_LCD_BITMAP | 42 | #ifdef HAVE_LCD_BITMAP |
40 | USB_SCREENDUMP, /* State */ | 43 | USB_SCREENDUMP, /* State */ |
@@ -107,6 +110,7 @@ struct usb_transfer_completion_event_data | |||
107 | 110 | ||
108 | void usb_init(void); | 111 | void usb_init(void); |
109 | void usb_enable(bool on); | 112 | void usb_enable(bool on); |
113 | void usb_attach(void); | ||
110 | void usb_start_monitoring(void); | 114 | void usb_start_monitoring(void); |
111 | void usb_close(void); | 115 | void usb_close(void); |
112 | void usb_acknowledge(long id); | 116 | void usb_acknowledge(long id); |