Skip to content

Commit

Permalink
fix: wedo2 stop motor when power set to 0 (#198)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpsnt authored Feb 29, 2024
1 parent 9a4afe2 commit b6c4208
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/extensions/scratch3_wedo2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,6 @@ class WeDo2Motor {
* Turn this motor on indefinitely.
*/
turnOn () {
if (this._power === 0) return;

const cmd = this._parent.generateOutputCommand(
this._index + 1,
WeDo2Command.MOTOR_POWER,
Expand Down

0 comments on commit b6c4208

Please sign in to comment.