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

This commit is contained in:
Julian Oes
2012-11-08 09:25:42 -08:00
parent 0b5da8b599
commit 6c3a340d6e
@@ -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) {