From a37a76ba550c785e77aa7d168834315203a61e13 Mon Sep 17 00:00:00 2001 From: Richard Knoll Date: Mon, 29 Jul 2024 10:26:15 -0700 Subject: [PATCH] Pass on the message bus listener flags in the sim (#1483) * Pass on the message bus listener flags in the sim * bump pxt-core to 10.2.3 --- libs/base/sim/control.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"