diff options
Diffstat (limited to 'firmware/export/power.h')
-rw-r--r-- | firmware/export/power.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/firmware/export/power.h b/firmware/export/power.h index 747887921d..edf43f8cc8 100644 --- a/firmware/export/power.h +++ b/firmware/export/power.h | |||
@@ -21,11 +21,6 @@ | |||
21 | #ifndef _POWER_H_ | 21 | #ifndef _POWER_H_ |
22 | #define _POWER_H_ | 22 | #define _POWER_H_ |
23 | 23 | ||
24 | #if CONFIG_CHARGING == CHARGING_CONTROL | ||
25 | extern bool charger_enabled; | ||
26 | void charger_enable(bool on); | ||
27 | #endif | ||
28 | |||
29 | #if CONFIG_CHARGING | 24 | #if CONFIG_CHARGING |
30 | enum power_input_flags { | 25 | enum power_input_flags { |
31 | /* No external power source? Default. */ | 26 | /* No external power source? Default. */ |
@@ -82,9 +77,9 @@ bool power_input_present(void); | |||
82 | void power_off(void); | 77 | void power_off(void); |
83 | void ide_power_enable(bool on); | 78 | void ide_power_enable(bool on); |
84 | 79 | ||
85 | # if CONFIG_CHARGING == CHARGING_MONITOR | 80 | #if CONFIG_CHARGING >= CHARGING_MONITOR |
86 | bool charging_state(void); | 81 | bool charging_state(void); |
87 | # endif | 82 | #endif |
88 | 83 | ||
89 | #ifndef SIMULATOR | 84 | #ifndef SIMULATOR |
90 | 85 | ||
@@ -102,4 +97,4 @@ bool spdif_powered(void); | |||
102 | bool tuner_power(bool status); | 97 | bool tuner_power(bool status); |
103 | #endif | 98 | #endif |
104 | 99 | ||
105 | #endif | 100 | #endif /* _POWER_H_ */ |