Browse Source

Made param name shorter, don't know if it was needed

sbg
Julian Oes 12 years ago
parent
commit
6c3a340d6e
  1. 4
      apps/multirotor_att_control/multirotor_att_control_main.c

4
apps/multirotor_att_control/multirotor_att_control_main.c

@ -73,7 +73,7 @@ @@ -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[]) @@ -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) {

Loading…
Cancel
Save