diff --git a/src/gos/gos_arduino.c b/src/gos/gos_arduino.c index 4c01695a..0c01a30c 100644 --- a/src/gos/gos_arduino.c +++ b/src/gos/gos_arduino.c @@ -239,7 +239,7 @@ void gfxSleepMicroseconds(delaytime_t ms) { #define STACK_DIR_UP FALSE #define MASK1 0x00000011 #define MASK2 0x00000000 - #define STACK_BASE 9 + #define STACK_BASE 12 #else #define AUTO_DETECT_MASK TRUE #define STACK_DIR_UP stackdirup // TRUE if the stack grow up instead of down diff --git a/src/gos/gos_raw32.c b/src/gos/gos_raw32.c index 1a2ba22b..529dcf79 100644 --- a/src/gos/gos_raw32.c +++ b/src/gos/gos_raw32.c @@ -449,7 +449,7 @@ void gfxSleepMicroseconds(delaytime_t ms) { #define STACK_DIR_UP FALSE #define MASK1 0x00000011 #define MASK2 0x00000000 - #define STACK_BASE 9 + #define STACK_BASE 12 #else #define AUTO_DETECT_MASK TRUE #define STACK_DIR_UP stackdirup // TRUE if the stack grow up instead of down