Commit b68fedeb authored by hpi1's avatar hpi1

Fixed bd_psr_restore_state()

parent 0ce9f6f2
......@@ -287,8 +287,8 @@ void bd_psr_restore_state(BD_REGISTERS *p)
ev.old_val = old_psr[i];
ev.new_val = p->psr[i];
for (j = 0; j < p->num_cb; i++) {
p->cb[i].cb(p->cb[i].handle, &ev);
for (j = 0; j < p->num_cb; j++) {
p->cb[j].cb(p->cb[j].handle, &ev);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment