Skip to content

Commit

Permalink
Pass on the message bus listener flags in the sim (#1483)
Browse files Browse the repository at this point in the history
* Pass on the message bus listener flags in the sim

* bump pxt-core to 10.2.3
  • Loading branch information
riknoll authored Jul 29, 2024
1 parent f9f8a10 commit a37a76b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/base/sim/control.ts
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"libs/**/*"
],
"dependencies": {
"pxt-core": "10.2.2"
"pxt-core": "10.2.3"
},
"devDependencies": {
"typescript": "^4.2.3"
Expand Down

0 comments on commit a37a76b

Please sign in to comment.