added motor_ramp to v2 config

This commit is contained in:
Andreas Antener
2016-06-20 20:24:45 +02:00
parent 0b930a36b9
commit fabb37975d
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ int motor_ramp_main(int argc, char *argv[])
return 1;
}
_ramp_time = strtof(argv[2], NULL);
_ramp_time = atof(argv[2]);
if (!(_ramp_time > 0)) {
usage("ramp time must be greater than 0");