diff --git a/libs/base/sim/control.ts b/libs/base/sim/control.ts index 9148b4289..423427bdb 100644 --- a/libs/base/sim/control.ts +++ b/libs/base/sim/control.ts @@ -1,7 +1,7 @@ namespace pxsim.pxtcore { // TODO: add in support for mode, as in CODAL export function registerWithDal(id: number, evid: number, handler: RefAction, mode: number = 0) { - board().bus.listen(id, evid, handler); + board().bus.listen(id, evid, handler, mode); } export function deepSleep() { diff --git a/package.json b/package.json index 586ce4db3..ac253b33e 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "libs/**/*" ], "dependencies": { - "pxt-core": "10.2.2" + "pxt-core": "10.2.3" }, "devDependencies": { "typescript": "^4.2.3"