From 49c92fbbb028a3fd0518473d39519572ff10141b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 29 Nov 2008 12:56:26 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@525 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- ports/ARMCM3/chcore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ports/ARMCM3/chcore.h') diff --git a/ports/ARMCM3/chcore.h b/ports/ARMCM3/chcore.h index d4b3dd3bc..6474d91d0 100644 --- a/ports/ARMCM3/chcore.h +++ b/ports/ARMCM3/chcore.h @@ -133,7 +133,7 @@ typedef struct { INT_REQUIRED_STACK) #define UserStackSize(n) THD_WA_SIZE(n) -#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n)]; +#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]; #define WorkingArea(s, n) WORKING_AREA(s, n) /* called on each interrupt entry, currently nothing is done */ -- cgit v1.2.3