From 4d7671ce224a0f96aabb114a4cd5246e3bcc31d0 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sun, 6 Feb 2005 02:34:17 +0000 Subject: Aligned thread stack git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5803 a1c6a512-1295-4272-9138-f99709370657 --- firmware/powermgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/powermgmt.c') diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 46f9d4df3f..cb9fb53fcb 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -164,7 +164,7 @@ void enable_trickle_charge(bool on) } #endif /* HAVE_CHARGE_CTRL */ -static char power_stack[DEFAULT_STACK_SIZE]; +static long power_stack[DEFAULT_STACK_SIZE/sizeof(long)]; static const char power_thread_name[] = "power"; static int poweroff_timeout = 0; -- cgit v1.2.3