2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-26 19:58:25 +08:00

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

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