mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Merge pull request #573 from julianoes/hotfix_esc_calib
ESC calib: low PWM value was not set
This commit is contained in:
commit
b345202ae7
@ -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…
x
Reference in New Issue
Block a user