diff options
author | Julian Oes <julian@oes.ch> | 2013-10-08 17:03:57 +0200 |
---|---|---|
committer | Julian Oes <julian@oes.ch> | 2013-10-08 17:03:57 +0200 |
commit | 1b9e2af7425615130ddbcf79b89859c97a791a9c (patch) | |
tree | 938e95decf73811c3c0c5ff2207c8e2a5fd029dd /src/drivers | |
parent | 19879432ad6cf709af25192401829719defd2983 (diff) | |
download | px4-firmware-1b9e2af7425615130ddbcf79b89859c97a791a9c.tar.gz px4-firmware-1b9e2af7425615130ddbcf79b89859c97a791a9c.tar.bz2 px4-firmware-1b9e2af7425615130ddbcf79b89859c97a791a9c.zip |
Moved PWM ramp to systemlib
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/px4io/px4io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp index f9dc3773e..18c9ef0bd 100644 --- a/src/drivers/px4io/px4io.cpp +++ b/src/drivers/px4io/px4io.cpp @@ -2402,7 +2402,7 @@ px4io_main(int argc, char *argv[]) /* set channel to commandline argument or to 900 for non-provided channels */ if (argc > i + 2) { failsafe[i] = atoi(argv[i+2]); - if (failsafe[i] < PWM_MIN || failsafe[i] > PWM_AX) { + if (failsafe[i] < PWM_MIN || failsafe[i] > PWM_MAX) { errx(1, "value out of range of %d < value < %d. Aborting.", PWM_MIN, PWM_MAX); } } else { |