diff options
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r-- | firmware/export/usb.h | 4 |
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 | |||
31 | bool usb_detect(void); /* return the raw hardware value */ | 31 | bool usb_detect(void); /* return the raw hardware value */ |
32 | #ifdef HAVE_USB_POWER | 32 | #ifdef HAVE_USB_POWER |
33 | bool usb_powered(void); | 33 | bool usb_powered(void); |
34 | #ifdef CONFIG_CHARGING | ||
35 | bool usb_charging_enable(bool on); | ||
36 | bool usb_charging_enabled(void); | ||
37 | #endif | ||
34 | #endif | 38 | #endif |
35 | 39 | ||
36 | #endif | 40 | #endif |