aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}