1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-25 17:25:13 +03:00

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

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];