diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index ffc72c7f1..fe2ca1947 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -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];