summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c3
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 */
132unsigned short power_history[POWER_HISTORY_LEN] = {0}; 132unsigned 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)
135static char power_stack[DEFAULT_STACK_SIZE + POWERMGMT_DEBUG_STACK]; 136static char power_stack[DEFAULT_STACK_SIZE + POWERMGMT_DEBUG_STACK];
136#else 137#else
137static char power_stack[DEFAULT_STACK_SIZE/2 + POWERMGMT_DEBUG_STACK]; 138static char power_stack[DEFAULT_STACK_SIZE/2 + POWERMGMT_DEBUG_STACK];