Copter: remove set_default_dead_zone statement with no effect

This is immediately undone in the unconditional code below the #if
This commit is contained in:
Peter Barker 2019-07-07 09:32:22 +10:00 committed by Randy Mackay
parent ebbd2b971b
commit cd2ec1f57f

View File

@ -11,7 +11,6 @@ void Copter::default_dead_zones()
#if FRAME_CONFIG == HELI_FRAME #if FRAME_CONFIG == HELI_FRAME
channel_throttle->set_default_dead_zone(10); channel_throttle->set_default_dead_zone(10);
channel_yaw->set_default_dead_zone(15); channel_yaw->set_default_dead_zone(15);
rc().channel(CH_6)->set_default_dead_zone(10);
#else #else
channel_throttle->set_default_dead_zone(30); channel_throttle->set_default_dead_zone(30);
channel_yaw->set_default_dead_zone(20); channel_yaw->set_default_dead_zone(20);