Fixing stack alignment issue in RAW32 scheduler
This commit is contained in:
parent
986aad310a
commit
6d329077bc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue