aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARMCM3/chcore.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-11-29 12:56:26 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-11-29 12:56:26 +0000
commit49c92fbbb028a3fd0518473d39519572ff10141b (patch)
tree7c0c7976b14ede7af1f7b437d5d19e3b04800ccf /ports/ARMCM3/chcore.h
parent62d821990abb79f9c7bb27f32d249bc934fa0990 (diff)
downloadChibiOS-49c92fbbb028a3fd0518473d39519572ff10141b.tar.gz
ChibiOS-49c92fbbb028a3fd0518473d39519572ff10141b.tar.bz2
ChibiOS-49c92fbbb028a3fd0518473d39519572ff10141b.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@525 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports/ARMCM3/chcore.h')
-rw-r--r--ports/ARMCM3/chcore.h2
1 files changed, 1 insertions, 1 deletions
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 */