Merge pull request #1379 from opentx/projectkk2glider/issue_1364

Fixes #1364 - Stack alignment to 8 bytes
This commit is contained in:
Bertrand Songis
2014-06-26 11:50:54 +02:00
+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];