Transfer fullMotorTest function to motors.ino

This commit is contained in:
Oleg Kalachev
2023-12-03 20:43:55 +03:00
parent 80ecba8337
commit 94b483cda6
4 changed files with 14 additions and 69 deletions

View File

@@ -98,7 +98,7 @@ void doCommand(String& command, String& value)
} else if (command == "mrl") {
cliTestMotor(MOTOR_REAR_LEFT);
} else if (command == "fullmot") {
fullMotorTest(value.toInt());
fullMotorTest(value.toInt(), false);
} else {
float val = value.toFloat();
// TODO: on error returns 0, check invalid value