From dca013965a615fed62b03f2930f637d6854aa29a Mon Sep 17 00:00:00 2001 From: Amilcar Lucas Date: Sun, 25 Sep 2011 11:35:47 +0200 Subject: [PATCH] Fix issue #285 --- ArduPlane/radio.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/radio.pde b/ArduPlane/radio.pde index 9994e74ef6..6c8967d542 100644 --- a/ArduPlane/radio.pde +++ b/ArduPlane/radio.pde @@ -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);