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"
|
//% blockId=motorPauseUntilRead block="%motor|pause until ready"
|
||||||
//% group="Motion"
|
//% group="Motion"
|
||||||
pauseUntilReady(timeOut: number = -1) {
|
pauseUntilReady(timeOut?: number) {
|
||||||
pauseUntil(() => this.isReady(), timeOut);
|
pauseUntil(() => this.isReady(), timeOut);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user