Copter: remove unnecessary frame ifdef

This commit is contained in:
Robert Lefebvre 2015-12-02 19:37:01 -05:00 committed by Randy Mackay
parent 5678ae54db
commit f55effa562
1 changed files with 0 additions and 5 deletions

View File

@ -81,13 +81,8 @@ Copter::Copter(void) :
condition_start(0),
G_Dt(0.0025f),
inertial_nav(ahrs),
#if FRAME_CONFIG == HELI_FRAME
attitude_control(ahrs, aparm, motors, g.p_stabilize_roll, g.p_stabilize_pitch, g.p_stabilize_yaw,
g.pid_rate_roll, g.pid_rate_pitch, g.pid_rate_yaw),
#else
attitude_control(ahrs, aparm, motors, g.p_stabilize_roll, g.p_stabilize_pitch, g.p_stabilize_yaw,
g.pid_rate_roll, g.pid_rate_pitch, g.pid_rate_yaw),
#endif
pos_control(ahrs, inertial_nav, motors, attitude_control,
g.p_alt_hold, g.p_vel_z, g.pid_accel_z,
g.p_pos_xy, g.pi_vel_xy),