From 10bc615b574ef2914bada60f0581212c196b85c4 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Mon, 11 Jul 2022 17:57:40 +1000 Subject: [PATCH] AP_GPS: add include for GCS_MAVLink.h The initialisation of the GPS_Fix enumeration is made from the mavlink headers. We should probably move away from this, converting from our own enumeration to the mavlink enumeration when required (emitting mavlink packets and receiving in AP_GPS_MAV) --- libraries/AP_GPS/AP_GPS.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_GPS/AP_GPS.h b/libraries/AP_GPS/AP_GPS.h index 9f16c7aa5a..5b2b5290a8 100644 --- a/libraries/AP_GPS/AP_GPS.h +++ b/libraries/AP_GPS/AP_GPS.h @@ -23,6 +23,7 @@ #include #include #include +#include /** maximum number of GPS instances available on this platform. If more