From 0d54fae73192c23af3657fea756c91ea84008804 Mon Sep 17 00:00:00 2001 From: inmarket Date: Wed, 8 Jul 2015 13:14:42 +1000 Subject: [PATCH] Correction of stackbase for mingw32 --- src/gos/gos_arduino.c | 2 +- src/gos/gos_raw32.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 95e9cb23..71d8be08 100644 --- a/src/gos/gos_raw32.c +++ b/src/gos/gos_raw32.c @@ -447,7 +447,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