summaryrefslogtreecommitdiff
path: root/firmware/export/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r--firmware/export/usb.h3
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);
28int usb_wait_for_disconnect_w_tmo(struct event_queue *q, int ticks); 28int usb_wait_for_disconnect_w_tmo(struct event_queue *q, int ticks);
29bool usb_inserted(void); /* return the official value, what's been reported to the threads */ 29bool usb_inserted(void); /* return the official value, what's been reported to the threads */
30bool usb_detect(void); /* return the raw hardware value */ 30bool usb_detect(void); /* return the raw hardware value */
31#ifdef HAVE_USB_POWER
32bool usb_powered(void);
33#endif
31 34
32#endif 35#endif