diff --git a/libraries/AP_GPS/GPS.h b/libraries/AP_GPS/GPS.h index 0b66a63a0f..078fb43c3b 100644 --- a/libraries/AP_GPS/GPS.h +++ b/libraries/AP_GPS/GPS.h @@ -67,7 +67,7 @@ public: /// /// @returns Current GPS status /// - GPS_Status status(void) { + GPS_Status status(void) const { return _status; }