Skip to content

Commit ec78ba1

Browse files
author
Alan Shaw
committed
Fix the spin motor spin solution
1 parent f18acef commit ec78ba1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/spin_motor_spin/solution/solution.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ board.on('ready', function () {
1212

1313
motor.on('stop', function () {
1414
board.wait(1000, function () {
15-
motor.start()
15+
motor.start(200)
1616
})
1717
})
1818

19-
motor.start()
19+
motor.start(200)
2020
})

0 commit comments

Comments
 (0)