diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/templates/chcore.h | 2 |
1 files changed, 1 insertions, 1 deletions
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.
|