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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index b16c11a9b8..622db35543 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -31,6 +31,10 @@ bool usb_inserted(void); /* return the official value, what's been reported to t
31bool usb_detect(void); /* return the raw hardware value */ 31bool usb_detect(void); /* return the raw hardware value */
32#ifdef HAVE_USB_POWER 32#ifdef HAVE_USB_POWER
33bool usb_powered(void); 33bool usb_powered(void);
34#ifdef CONFIG_CHARGING
35bool usb_charging_enable(bool on);
36bool usb_charging_enabled(void);
37#endif
34#endif 38#endif
35 39
36#endif 40#endif