replacing loops.pause -> pause, loops.forever -> forever
This commit is contained in:
@ -41,7 +41,7 @@ namespace control {
|
||||
//% blockId=timerPauseUntil block="%timer|pause until (ms) %ms"
|
||||
pauseUntil(ms: number) {
|
||||
const remaining = this.millis() - ms;
|
||||
loops.pause(Math.max(0, remaining));
|
||||
pause(Math.max(0, remaining));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user