mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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:
parent
0b666d4933
commit
b8d53e1c58
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user