TradHeli - small change to make throttle_cruise in terms of radio input instead of servo output
This commit is contained in:
parent
f1e626e3c1
commit
156b496bab
@ -527,11 +527,7 @@ init_throttle_cruise()
|
||||
if((old_control_mode <= STABILIZE) && (g.rc_3.control_in > MINIMUM_THROTTLE)){
|
||||
g.pi_throttle.reset_I();
|
||||
g.pi_alt_hold.reset_I();
|
||||
#if FRAME_CONFIG == HELI_FRAME
|
||||
g.throttle_cruise.set_and_save(heli_get_scaled_throttle(g.rc_3.control_in));
|
||||
#else
|
||||
g.throttle_cruise.set_and_save(g.rc_3.control_in);
|
||||
#endif
|
||||
g.throttle_cruise.set_and_save(g.rc_3.control_in);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user