summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2018-06-28 06:24:26 -0400
committerMichael Giacomelli <giac2000@hotmail.com>2018-07-28 10:56:31 -0400
commit0662793ca0050e823cd1207cc4689a1cba5068bd (patch)
tree08cd2ec59c9044c96b697b5bf8d0640841d044e0 /firmware/powermgmt.c
parentb3e2bd619b1b7ea94ef29d32db48e80b347a1990 (diff)
downloadrockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.tar.gz
rockbox-0662793ca0050e823cd1207cc4689a1cba5068bd.zip
Add cleaned-up xDuoo X3 support
Cleaned up, rebased, and forward-ported from the xvortex fork. (original credit to vsoftster@gmail.com) Change-Id: Ibcc023a0271ea81e901450a88317708c2683236d Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 4cfcbbd56d..60565b1573 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -129,7 +129,7 @@ static int battery_type = 0;
129/* Power history: power_history[0] is the newest sample */ 129/* Power history: power_history[0] is the newest sample */
130unsigned short power_history[POWER_HISTORY_LEN] = {0}; 130unsigned short power_history[POWER_HISTORY_LEN] = {0};
131 131
132#if CONFIG_CPU == JZ4732 /* FIXME! */ || (CONFIG_PLATFORM & PLATFORM_HOSTED) 132#if (CONFIG_CPU == JZ4732) || (CONFIG_CPU == JZ4760B) || (CONFIG_PLATFORM & PLATFORM_HOSTED)
133static char power_stack[DEFAULT_STACK_SIZE + POWERMGMT_DEBUG_STACK]; 133static char power_stack[DEFAULT_STACK_SIZE + POWERMGMT_DEBUG_STACK];
134#else 134#else
135static char power_stack[DEFAULT_STACK_SIZE/2 + POWERMGMT_DEBUG_STACK]; 135static char power_stack[DEFAULT_STACK_SIZE/2 + POWERMGMT_DEBUG_STACK];