fixing pauseUntilReady signature
This commit is contained in:
1 parent
c0f6cd3651
commit
43a9d03231
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user