Fixing a comment style.

This commit is contained in:
Evelyn Eastmond 2019-04-27 18:41:52 -04:00
parent bb6514f1d6
commit dd82079bad

View file

@ -522,10 +522,10 @@ class BoostMotor {
* @param {boolean} [resetState=true] - whether to reset the state of the motor when running this command.
*/
turnOnForDegrees (degrees, direction, resetState = true) {
/* if (this.power === 0) {
this._clearRotationState();
return;
}*/
// if (this.power === 0) {
// this._clearRotationState();
// return;
// }
degrees = Math.max(0, degrees);