diff options
author | Julian Oes <joes@student.ethz.ch> | 2012-11-08 09:25:42 -0800 |
---|---|---|
committer | Julian Oes <joes@student.ethz.ch> | 2012-11-08 09:25:42 -0800 |
commit | 6c3a340d6eb3c8cc450e27899309ee79dc1ee504 (patch) | |
tree | 4bb52d8a5d238356360bda96af081fc44c5692d2 /apps/multirotor_att_control/multirotor_att_control_main.c | |
parent | 0b5da8b5998878064ed67be7992b7c413c443ee5 (diff) | |
download | px4-firmware-6c3a340d6eb3c8cc450e27899309ee79dc1ee504.tar.gz px4-firmware-6c3a340d6eb3c8cc450e27899309ee79dc1ee504.tar.bz2 px4-firmware-6c3a340d6eb3c8cc450e27899309ee79dc1ee504.zip |
Made param name shorter, don't know if it was needed
Diffstat (limited to 'apps/multirotor_att_control/multirotor_att_control_main.c')
-rw-r--r-- | apps/multirotor_att_control/multirotor_att_control_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/multirotor_att_control/multirotor_att_control_main.c b/apps/multirotor_att_control/multirotor_att_control_main.c index 951840ab1..6a8387741 100644 --- a/apps/multirotor_att_control/multirotor_att_control_main.c +++ b/apps/multirotor_att_control/multirotor_att_control_main.c @@ -73,7 +73,7 @@ #include "multirotor_attitude_control.h" #include "multirotor_rate_control.h" -PARAM_DEFINE_FLOAT(MC_RCLOSS_THROT, 0.0f); // This defines the throttle when the RC signal is lost. +PARAM_DEFINE_FLOAT(MC_RCLOSS_THR, 0.0f); // This defines the throttle when the RC signal is lost. __EXPORT int multirotor_att_control_main(int argc, char *argv[]); @@ -146,7 +146,7 @@ mc_thread_main(int argc, char *argv[]) bool man_yaw_zero_once = false; /* prepare the handle for the failsafe throttle */ - param_t failsafe_throttle_handle = param_find("MC_RCLOSS_THROT"); + param_t failsafe_throttle_handle = param_find("MC_RCLOSS_THR"); float failsafe_throttle = 0.0f; while (!thread_should_exit) { |