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