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.
This commit is contained in:
Tom Pittenger 2016-09-21 15:38:58 -07:00
parent 0b666d4933
commit b8d53e1c58

View File

@ -156,7 +156,7 @@ void Plane::update_is_flying_5Hz(void)
previous_is_flying = new_is_flying; previous_is_flying = new_is_flying;
adsb.set_is_flying(new_is_flying); adsb.set_is_flying(new_is_flying);
#if FRSKY_TELEM_ENABLED == ENABLED #if FRSKY_TELEM_ENABLED == ENABLED
frsky_telemetry.set_is_flying(is_flying()); frsky_telemetry.set_is_flying(new_is_flying);
#endif #endif
crash_detection_update(); crash_detection_update();