diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-09-28 22:26:59 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-09-28 22:26:59 -0400 |
commit | 977a03a1a41ef60c62169ccedf46ed4abd89a65a (patch) | |
tree | b395c39d120a62c1d002e1f5d0bda1c0d251ff03 | |
parent | 0ebfe3dfcfc39713315fdb1a47ac6b6da12f7c8d (diff) | |
download | rockbox-977a03a.tar.gz rockbox-977a03a.zip |
fix x20 and yp-r1 builds.
Change-Id: Ifc6638c2ed6bc862ded389f1b81f30c7a0419ec0
-rw-r--r-- | firmware/powermgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 0e4a7df57b..dacafee8e0 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -86,8 +86,8 @@ static int poweroff_timeout = 0; static long last_event_tick = 0; #if (CONFIG_BATTERY_MEASURE & PERCENTAGE_MEASURE) == PERCENTAGE_MEASURE -int _battery_level(void) { return -1; } #ifdef SIMULATOR +int _battery_level(void) { return -1; } int _battery_voltage(void); extern const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11]; extern const unsigned short percent_to_volt_charge[11]; |