Fixes #1364 - Stack alignment to 8 bytes

This commit is contained in:
Damjan Adamic
2014-06-26 10:30:01 +02:00
parent a8e594e54c
commit 8c33914cbb
+2 -1
View File
@@ -44,7 +44,8 @@
#define DEBUG_STACK_SIZE 500
OS_TID menusTaskId;
OS_STK menusStack[MENUS_STACK_SIZE];
//stack must be alligned to 8 bytes otherwise printf for %f does not work!
OS_STK __attribute__((aligned(8))) menusStack[MENUS_STACK_SIZE];
OS_TID mixerTaskId;
OS_STK mixerStack[MIXER_STACK_SIZE];