aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-07-08 01:22:36 +0200
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-07-08 01:22:36 +0200
commite99cc3cd8b402d26bb2ed1abc1c8793f7a680d2f (patch)
tree018156c4d2421e138ba63f678ce437b5619a8703 /src/gos
parent6d329077bc2281a4c76c329ad0d17ecaa23abddf (diff)
downloaduGFX-e99cc3cd8b402d26bb2ed1abc1c8793f7a680d2f.tar.gz
uGFX-e99cc3cd8b402d26bb2ed1abc1c8793f7a680d2f.tar.bz2
uGFX-e99cc3cd8b402d26bb2ed1abc1c8793f7a680d2f.zip
Fixing stack alignment issue in Arduino scheduler
Diffstat (limited to 'src/gos')
-rw-r--r--src/gos/gos_arduino.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gos/gos_arduino.c b/src/gos/gos_arduino.c
index 60c35cac..4c01695a 100644
--- a/src/gos/gos_arduino.c
+++ b/src/gos/gos_arduino.c
@@ -327,7 +327,7 @@ static thread *Qpop(threadQ * q) {
/* These functions are not static to prevent the compiler removing them as functions */
void get_stack_state(void) {
- char c;
+ char* c;
pframeinfo->localptr = (char *)&c;
_setjmp(pframeinfo->cxt);
}