From e99cc3cd8b402d26bb2ed1abc1c8793f7a680d2f Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Wed, 8 Jul 2015 01:22:36 +0200 Subject: [PATCH] Fixing stack alignment issue in Arduino scheduler --- src/gos/gos_arduino.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }