diff --git a/libraries/AP_GPS/GPS.cpp b/libraries/AP_GPS/GPS.cpp index 0929749e81..d1bbbdb1f6 100644 --- a/libraries/AP_GPS/GPS.cpp +++ b/libraries/AP_GPS/GPS.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include "GPS.h" extern const AP_HAL::HAL& hal; @@ -99,7 +100,7 @@ GPS::update(void) } // update notify with gps status - notify.flags.gps_status = _status; + AP_Notify::flags.gps_status = _status; } void