Skip to content
Snippets Groups Projects
Commit f1cb672f authored by dawehr's avatar dawehr
Browse files

Fixing syntax error.

parent 798bd8b8
No related branches found
No related tags found
No related merge requests found
......@@ -358,7 +358,7 @@ int control_algorithm_init(parameter_t * ps)
// don't use the PID corrections if the throttle is less than about 10% of its range
// unless we are in autonomous
if((user_input_struct->rc_commands[THROTTLE] > 118000) ||
user_defined_struct->flight_mode = AUTO_FLIGHT_MODE)
user_defined_struct->flight_mode == AUTO_FLIGHT_MODE)
{
//THROTTLE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment