Skip to content

Commit

Permalink
plumbing hooked up...
Browse files Browse the repository at this point in the history
  • Loading branch information
tballmsft committed Nov 11, 2024
1 parent fbd1ddd commit ac8131e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions libs/core/control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,9 @@ namespace control {
microbit_reset();
}




//%
void singleSimulator() { }

Expand Down
5 changes: 3 additions & 2 deletions libs/core/control.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ namespace control {
export function runInBackground(a: () => void) {
control.inBackground(a);
}

/**
* Allow only one simulator
*/
//% shim=pxt::singleSimulator
export function singleSimulator(msg: string) {
//% shim=control::singleSimulator
export function singleSimulator() {

}

Expand Down

0 comments on commit ac8131e

Please sign in to comment.