From b8d53e1c58cb7a76bf5ef42b02720cfa9f80c8a5 Mon Sep 17 00:00:00 2001 From: Tom Pittenger Date: Wed, 21 Sep 2016 15:38:58 -0700 Subject: [PATCH] Plane: change how is_flying bool is assignment in fysky lib Florent had this correct on his PR but I incorrectly advised him to change it. This commit changes it back to his original method which was correct. --- ArduPlane/is_flying.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/is_flying.cpp b/ArduPlane/is_flying.cpp index 93eff02aad..1561cad5b7 100644 --- a/ArduPlane/is_flying.cpp +++ b/ArduPlane/is_flying.cpp @@ -156,7 +156,7 @@ void Plane::update_is_flying_5Hz(void) previous_is_flying = new_is_flying; adsb.set_is_flying(new_is_flying); #if FRSKY_TELEM_ENABLED == ENABLED - frsky_telemetry.set_is_flying(is_flying()); + frsky_telemetry.set_is_flying(new_is_flying); #endif crash_detection_update();