mirror of https://github.com/contiki-ng/mspsim
Bug fix: allow IFG to be set and not only cleared
This commit is contained in:
parent
3eeea57333
commit
1a8cd84cdd
|
|
@ -289,9 +289,9 @@ public class IOPort extends IOUnit {
|
|||
break;
|
||||
case IFG:
|
||||
if (DEBUG) {
|
||||
log("Clearing IFlag: " + data);
|
||||
log("Setting IFlag: " + data);
|
||||
}
|
||||
ifg &= data;
|
||||
ifg = data;
|
||||
updateIV();
|
||||
break;
|
||||
case IE:
|
||||
|
|
|
|||
Loading…
Reference in New Issue