diff options
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]; |