forked from Archive/PX4-Autopilot
ESC calib: low PWM value was not set
This commit is contained in:
parent
1d9e8a7b72
commit
1a21dcd34d
|
@ -148,6 +148,7 @@ esc_calib_main(int argc, char *argv[])
|
|||
|
||||
case 'l':
|
||||
/* Read in custom low value */
|
||||
pwm_low = strtoul(optarg, &ep, 0);
|
||||
if (*ep != '\0' || pwm_low < PWM_LOWEST_MIN || pwm_low > PWM_HIGHEST_MIN)
|
||||
usage("low PWM invalid");
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue