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 --- src/templates/chcore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/templates/chcore.h b/src/templates/chcore.h index 663033fb5..40a468b64 100644 --- a/src/templates/chcore.h +++ b/src/templates/chcore.h @@ -108,7 +108,7 @@ typedef struct { * Macro used to allocate a thread working area aligned as both position and * size. */ -#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)]; /** * IRQ handler enter code. -- cgit v1.2.3