diff options
author | Julian Oes <julian@oes.ch> | 2014-01-02 08:28:33 +0100 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2014-01-02 08:28:33 +0100 |
commit | 1a21dcd34d218c524cede742dc5894d50e74b574 (patch) | |
tree | 63f2aa2ae6d8c334fe14fa9e8edbe432684d9c07 /src/systemcmds/esc_calib/esc_calib.c | |
parent | 1d9e8a7b721685b9290103d82db04f9b0a587d65 (diff) | |
download | px4-firmware-1a21dcd34d218c524cede742dc5894d50e74b574.tar.gz px4-firmware-1a21dcd34d218c524cede742dc5894d50e74b574.tar.bz2 px4-firmware-1a21dcd34d218c524cede742dc5894d50e74b574.zip |
ESC calib: low PWM value was not set
Diffstat (limited to 'src/systemcmds/esc_calib/esc_calib.c')
-rw-r--r-- | src/systemcmds/esc_calib/esc_calib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemcmds/esc_calib/esc_calib.c b/src/systemcmds/esc_calib/esc_calib.c index b237b31be..ad1996694 100644 --- a/src/systemcmds/esc_calib/esc_calib.c +++ b/src/systemcmds/esc_calib/esc_calib.c @@ -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; |