Skip to content

Commit

Permalink
Remove unnecessary debug
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Feb 16, 2024
1 parent 3bd65fa commit 67cbf37
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion StateMachine.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ class StateMachine {
return this.lastState;
}
this.currentPropulsion = newPropulsion;
debug(this.currentSpeed, this.motorStoppedSpeed);
if (this.lastState === motoring && this.currentSpeed <= this.motorStoppedSpeed) {
// Special-case when motor is stopped and speed is zero
debug(`Motor stopped while speed is ${this.currentSpeed}, assuming moored`);
Expand Down

0 comments on commit 67cbf37

Please sign in to comment.