Copter: remove unused init from sport mode

This commit is contained in:
Randy Mackay 2014-02-03 16:26:16 +09:00 committed by Andrew Tridgell
parent 3d926a6943
commit 0e0d02cd6d

View File

@ -440,10 +440,6 @@ static bool set_mode(uint8_t mode)
case SPORT:
success = sport_init(ignore_checks);
// reset acro angle targets to current attitude
acro_roll = ahrs.roll_sensor;
acro_pitch = ahrs.pitch_sensor;
control_yaw = ahrs.yaw_sensor;
break;
case FLIP: