forked from M-Labs/artiq
1
0
Fork 0

soc/runtime/exception: fix eid bug

This commit is contained in:
Sebastien Bourdeauducq 2014-09-25 12:55:22 +08:00
parent 538aaa4c14
commit 378ca64193
1 changed files with 1 additions and 0 deletions

View File

@ -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);
} }