Browse Source

Fix issue #285

mission-4.1.18
Amilcar Lucas 14 years ago
parent
commit
dca013965a
  1. 2
      ArduPlane/radio.pde

2
ArduPlane/radio.pde

@ -73,7 +73,7 @@ static void read_radio() @@ -73,7 +73,7 @@ static void read_radio()
// TO DO - go through and patch throttle reverse for RC_Channel library compatibility
#if THROTTLE_REVERSE == 1
radio_in[CH_THROTTLE] = radio_max(CH_THROTTLE) + radio_min(CH_THROTTLE) - radio_in[CH_THROTTLE];
g.channel_throttle.radio_in = g.channel_throttle.radio_max + g.channel_throttle.radio_min - g.channel_throttle.radio_in;
#endif
control_failsafe(g.channel_throttle.radio_in);

Loading…
Cancel
Save