fixing pauseUntilReady signature
This commit is contained in:
parent
c0f6cd3651
commit
43a9d03231
@ -238,7 +238,7 @@ namespace motors {
|
||||
*/
|
||||
//% blockId=motorPauseUntilRead block="%motor|pause until ready"
|
||||
//% group="Motion"
|
||||
pauseUntilReady(timeOut: number = -1) {
|
||||
pauseUntilReady(timeOut?: number) {
|
||||
pauseUntil(() => this.isReady(), timeOut);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user