fixing pauseUntilReady signature

This commit is contained in:
Peli de Halleux 2017-12-18 14:45:44 -08:00
parent c0f6cd3651
commit 43a9d03231

View File

@ -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);
} }
} }