mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 08:45:24 +03:00
Fix VC compilation for #1364 fix
This commit is contained in:
parent
5879ca2fb6
commit
67177aed42
1 changed files with 6 additions and 1 deletions
|
@ -44,8 +44,13 @@
|
|||
#define DEBUG_STACK_SIZE 500
|
||||
|
||||
OS_TID menusTaskId;
|
||||
//stack must be alligned to 8 bytes otherwise printf for %f does not work!
|
||||
#if !defined(SIMU)
|
||||
// stack must be alligned to 8 bytes otherwise printf for %f does not work!
|
||||
OS_STK __attribute__((aligned(8))) menusStack[MENUS_STACK_SIZE];
|
||||
#else
|
||||
// but VC++ doesn't like the aligned keyword, so keep it as is on simu (which works)
|
||||
OS_STK menusStack[MENUS_STACK_SIZE];
|
||||
#endif
|
||||
|
||||
OS_TID mixerTaskId;
|
||||
OS_STK mixerStack[MIXER_STACK_SIZE];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue