diff options
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r-- | firmware/export/usb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index 49b70f659a..a6cfad5889 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -114,6 +114,8 @@ void usb_wait_for_disconnect(struct event_queue *q); | |||
114 | int usb_wait_for_disconnect_w_tmo(struct event_queue *q, int ticks); | 114 | int usb_wait_for_disconnect_w_tmo(struct event_queue *q, int ticks); |
115 | bool usb_inserted(void); /* return the official value, what's been reported to the threads */ | 115 | bool usb_inserted(void); /* return the official value, what's been reported to the threads */ |
116 | int usb_detect(void); /* return the raw hardware value - nothing/pc/charger */ | 116 | int usb_detect(void); /* return the raw hardware value - nothing/pc/charger */ |
117 | /* For tick-less USB monitoring (USB_STATUS_BY_EVENT) */ | ||
118 | void usb_status_event(int current_status); | ||
117 | #ifdef HAVE_USB_POWER | 119 | #ifdef HAVE_USB_POWER |
118 | bool usb_powered(void); | 120 | bool usb_powered(void); |
119 | #ifdef CONFIG_CHARGING | 121 | #ifdef CONFIG_CHARGING |