summaryrefslogtreecommitdiff
path: root/src/core/ao_flight.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ao_flight.c')
-rw-r--r--src/core/ao_flight.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ao_flight.c b/src/core/ao_flight.c
index 88dc816d..2495a44b 100644
--- a/src/core/ao_flight.c
+++ b/src/core/ao_flight.c
@@ -194,8 +194,8 @@ ao_flight(void)
#if HAS_GPS
/* Record current GPS position by waking up GPS log tasks */
- ao_wakeup(&ao_gps_data);
- ao_wakeup(&ao_gps_tracking_data);
+ ao_gps_new = AO_GPS_NEW_DATA | AO_GPS_NEW_TRACKING;
+ ao_wakeup(&ao_gps_new);
#endif
ao_wakeup(DATA_TO_XDATA(&ao_flight_state));