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 fc96c67166..e8602e7358 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -28,5 +28,8 @@ void usb_wait_for_disconnect(struct event_queue *q); | |||
28 | int usb_wait_for_disconnect_w_tmo(struct event_queue *q, int ticks); | 28 | int usb_wait_for_disconnect_w_tmo(struct event_queue *q, int ticks); |
29 | bool usb_inserted(void); /* return the official value, what's been reported to the threads */ | 29 | bool usb_inserted(void); /* return the official value, what's been reported to the threads */ |
30 | bool usb_detect(void); /* return the raw hardware value */ | 30 | bool usb_detect(void); /* return the raw hardware value */ |
31 | #ifdef HAVE_USB_POWER | ||
32 | bool usb_powered(void); | ||
33 | #endif | ||
31 | 34 | ||
32 | #endif | 35 | #endif |