diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2021-02-27 22:08:58 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2021-03-28 00:01:37 +0000 |
commit | 3ec66893e377b088c1284d2d23adb2aeea6d7965 (patch) | |
tree | b647717f83ad56b15dc42cfdef5d04d68cd9bd6b /firmware/powermgmt.c | |
parent | 83fcbedc65f4b9ae7e491ecf6f07c0af4b245f74 (diff) | |
download | rockbox-3ec66893e377b088c1284d2d23adb2aeea6d7965.tar.gz rockbox-3ec66893e377b088c1284d2d23adb2aeea6d7965.zip |
New port: FiiO M3K on bare metal
Change-Id: I7517e7d5459e129dcfc9465c6fbd708619888fbe
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 3b56242b21..a05e0aeb68 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -131,7 +131,8 @@ static int battery_type = 0; | |||
131 | /* Power history: power_history[0] is the newest sample */ | 131 | /* Power history: power_history[0] is the newest sample */ |
132 | unsigned short power_history[POWER_HISTORY_LEN] = {0}; | 132 | unsigned short power_history[POWER_HISTORY_LEN] = {0}; |
133 | 133 | ||
134 | #if (CONFIG_CPU == JZ4732) || (CONFIG_CPU == JZ4760B) || (CONFIG_PLATFORM & PLATFORM_HOSTED) | 134 | #if (CONFIG_CPU == JZ4732) || (CONFIG_CPU == JZ4760B) || \ |
135 | (CONFIG_CPU == X1000) || (CONFIG_PLATFORM & PLATFORM_HOSTED) | ||
135 | static char power_stack[DEFAULT_STACK_SIZE + POWERMGMT_DEBUG_STACK]; | 136 | static char power_stack[DEFAULT_STACK_SIZE + POWERMGMT_DEBUG_STACK]; |
136 | #else | 137 | #else |
137 | static char power_stack[DEFAULT_STACK_SIZE/2 + POWERMGMT_DEBUG_STACK]; | 138 | static char power_stack[DEFAULT_STACK_SIZE/2 + POWERMGMT_DEBUG_STACK]; |