From e8d7ee08ccb000affee8d0e3f980494085ee7230 Mon Sep 17 00:00:00 2001 From: Richard Knoll Date: Fri, 26 Jul 2024 11:26:46 -0700 Subject: [PATCH 1/2] Pass on the message bus listener flags in the sim --- libs/base/sim/control.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { From 8856f0607b56a4fdab72ed5ea4a9b7b99c968314 Mon Sep 17 00:00:00 2001 From: Richard Knoll Date: Fri, 26 Jul 2024 14:50:36 -0700 Subject: [PATCH 2/2] bump pxt-core to 10.2.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"