Merge branch 'master' of github.com:PX4/Firmware into ppm_in

This commit is contained in:
Lorenz Meier 2014-01-02 17:19:21 +01:00
commit 2fbb854414
1 changed files with 1 additions and 0 deletions

View File

@ -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;