diff --git a/libraries/AP_GPS/AP_GPS_None.h b/libraries/AP_GPS/AP_GPS_None.h index ecba958b8a..f7c5d9daad 100644 --- a/libraries/AP_GPS/AP_GPS_None.h +++ b/libraries/AP_GPS/AP_GPS_None.h @@ -7,6 +7,8 @@ class AP_GPS_None : public GPS { +public: + AP_GPS_None(Stream *s) : GPS(s) {} virtual void init(void) {}; virtual bool read(void) { return false; }; };