diff options
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 3fc216080b..64aa5c0637 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -93,7 +93,11 @@ static int battery_type = 0; | |||
93 | /* Power history: power_history[0] is the newest sample */ | 93 | /* Power history: power_history[0] is the newest sample */ |
94 | unsigned short power_history[POWER_HISTORY_LEN]; | 94 | unsigned short power_history[POWER_HISTORY_LEN]; |
95 | 95 | ||
96 | #if CONFIG_CPU == JZ4732 /* FIXME! */ | ||
97 | static char power_stack[DEFAULT_STACK_SIZE + POWERMGMT_DEBUG_STACK]; | ||
98 | #else | ||
96 | static char power_stack[DEFAULT_STACK_SIZE/2 + POWERMGMT_DEBUG_STACK]; | 99 | static char power_stack[DEFAULT_STACK_SIZE/2 + POWERMGMT_DEBUG_STACK]; |
100 | #endif | ||
97 | static const char power_thread_name[] = "power"; | 101 | static const char power_thread_name[] = "power"; |
98 | 102 | ||
99 | static int poweroff_timeout = 0; | 103 | static int poweroff_timeout = 0; |