diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-05 11:02:22 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-04-05 11:02:22 +0200 |
commit | 9a0b2b7610d39f88b627046e0d90f66aada1e88f (patch) | |
tree | 7f1590055a77aa581a54f29e9dae4c358c13dbd8 /src/modules/px4iofirmware/px4io.h | |
parent | 9123ebce8cbc618899ece31d31c97e022038beb2 (diff) | |
download | px4-firmware-9a0b2b7610d39f88b627046e0d90f66aada1e88f.tar.gz px4-firmware-9a0b2b7610d39f88b627046e0d90f66aada1e88f.tar.bz2 px4-firmware-9a0b2b7610d39f88b627046e0d90f66aada1e88f.zip |
Make throttle failsafe depend on the failsafe threshold parameter. Make the parameter optional (no harm if not found).
Diffstat (limited to 'src/modules/px4iofirmware/px4io.h')
-rw-r--r-- | src/modules/px4iofirmware/px4io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/px4iofirmware/px4io.h b/src/modules/px4iofirmware/px4io.h index 54c5663a5..88ad79398 100644 --- a/src/modules/px4iofirmware/px4io.h +++ b/src/modules/px4iofirmware/px4io.h @@ -108,6 +108,7 @@ extern uint16_t r_page_servo_disarmed[]; /* PX4IO_PAGE_DISARMED_PWM */ #ifdef CONFIG_ARCH_BOARD_PX4IO_V1 #define r_setup_relays r_page_setup[PX4IO_P_SETUP_RELAYS] #endif +#define r_setup_rc_thr_failsafe r_page_setup[PX4IO_P_SETUP_RC_THR_FAILSAFE_US]; #define r_control_values (&r_page_controls[0]) |