mirror of https://github.com/contiki-ng/mspsim
Corrected flash emergency exit check
This commit is contained in:
parent
18e2a66906
commit
a840a8a3ca
|
|
@ -578,7 +578,7 @@ public class Flash extends IOUnit {
|
|||
break;
|
||||
|
||||
case FCTL3:
|
||||
if ((statusreg & EMEX) == 0 && (regdata & EMEX) == 1) {
|
||||
if ((statusreg & EMEX) == 0 && (regdata & EMEX) != 0) {
|
||||
triggerEmergencyExit();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue