aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-07-08 13:14:42 +1000
committerinmarket <andrewh@inmarket.com.au>2015-07-08 13:14:42 +1000
commit0d54fae73192c23af3657fea756c91ea84008804 (patch)
tree2264f64bb532ce7595f25e4722912cfae462e371 /src
parent2f6aaa9586297d287c5c721660795db1191f47f3 (diff)
downloaduGFX-0d54fae73192c23af3657fea756c91ea84008804.tar.gz
uGFX-0d54fae73192c23af3657fea756c91ea84008804.tar.bz2
uGFX-0d54fae73192c23af3657fea756c91ea84008804.zip
Correction of stackbase for mingw32
Diffstat (limited to 'src')
-rw-r--r--src/gos/gos_arduino.c2
-rw-r--r--src/gos/gos_raw32.c2
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