Fixing stack alignment issue in RAW32 scheduler

This commit is contained in:
Joel Bodenmann 2015-07-08 01:13:35 +02:00
parent 986aad310a
commit 6d329077bc

View file

@ -526,7 +526,7 @@ static thread *Qpop(threadQ * q) {
/* These functions are not static to prevent the compiler removing them as functions */ /* These functions are not static to prevent the compiler removing them as functions */
void get_stack_state(void) { void get_stack_state(void) {
char c; char* c;
pframeinfo->localptr = (char *)&c; pframeinfo->localptr = (char *)&c;
_setjmp(pframeinfo->cxt); _setjmp(pframeinfo->cxt);
} }