forked from M-Labs/artiq
soc/runtime/exception: fix eid bug
This commit is contained in:
parent
538aaa4c14
commit
378ca64193
|
@ -30,5 +30,6 @@ int exception_getid(void)
|
||||||
|
|
||||||
void exception_raise(int id)
|
void exception_raise(int id)
|
||||||
{
|
{
|
||||||
|
stored_id = id;
|
||||||
exception_longjmp(exception_contexts[--ec_top].jb);
|
exception_longjmp(exception_contexts[--ec_top].jb);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue