mirror of
https://github.com/okalachev/flix.git
synced 2025-08-18 09:36:10 +00:00
Transfer fullMotorTest function to motors.ino
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user