Browse Source

AP_GPS: removed nav_setting default

not needed, and apparently caused issue with xcode 5.1
mission-4.1.18
Andrew Tridgell 11 years ago
parent
commit
9cf1fd46c8
  1. 2
      libraries/AP_GPS/AP_GPS_406.h
  2. 2
      libraries/AP_GPS/AP_GPS_Auto.h
  3. 2
      libraries/AP_GPS/AP_GPS_HIL.h
  4. 2
      libraries/AP_GPS/AP_GPS_MTK.h
  5. 2
      libraries/AP_GPS/AP_GPS_MTK19.h
  6. 2
      libraries/AP_GPS/AP_GPS_NMEA.h
  7. 2
      libraries/AP_GPS/AP_GPS_None.h
  8. 2
      libraries/AP_GPS/AP_GPS_SIRF.h
  9. 2
      libraries/AP_GPS/AP_GPS_UBLOX.h

2
libraries/AP_GPS/AP_GPS_406.h

@ -34,7 +34,7 @@ public:
AP_GPS_406() : AP_GPS_SIRF() {} AP_GPS_406() : AP_GPS_SIRF() {}
// Methods // Methods
virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE); virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting);
private: private:
void _change_to_sirf_protocol(void); void _change_to_sirf_protocol(void);

2
libraries/AP_GPS/AP_GPS_Auto.h

@ -24,7 +24,7 @@ public:
AP_GPS_Auto(GPS **gps); AP_GPS_Auto(GPS **gps);
/// Dummy init routine, does nothing /// Dummy init routine, does nothing
virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE); virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting);
/// Detect and initialise the attached GPS unit. Updates the /// Detect and initialise the attached GPS unit. Updates the
/// pointer passed into the constructor when a GPS is detected. /// pointer passed into the constructor when a GPS is detected.

2
libraries/AP_GPS/AP_GPS_HIL.h

@ -32,7 +32,7 @@ public:
_updated(false) _updated(false)
{} {}
virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE); virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting);
virtual bool read(void); virtual bool read(void);
/** /**

2
libraries/AP_GPS/AP_GPS_MTK.h

@ -37,7 +37,7 @@ public:
_payload_counter(0) _payload_counter(0)
{} {}
virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE); virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting);
virtual bool read(void); virtual bool read(void);
static bool _detect(uint8_t ); static bool _detect(uint8_t );

2
libraries/AP_GPS/AP_GPS_MTK19.h

@ -41,7 +41,7 @@ public:
_fix_counter(0) _fix_counter(0)
{} {}
virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE); virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting);
virtual bool read(void); virtual bool read(void);
static bool _detect(uint8_t ); static bool _detect(uint8_t );

2
libraries/AP_GPS/AP_GPS_NMEA.h

@ -70,7 +70,7 @@ public:
/// Perform a (re)initialisation of the GPS; sends the /// Perform a (re)initialisation of the GPS; sends the
/// protocol configuration messages. /// protocol configuration messages.
/// ///
virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE); virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting);
/// Checks the serial receive buffer for characters, /// Checks the serial receive buffer for characters,
/// attempts to parse NMEA data and updates internal state /// attempts to parse NMEA data and updates internal state

2
libraries/AP_GPS/AP_GPS_None.h

@ -11,7 +11,7 @@ class AP_GPS_None : public GPS
public: public:
AP_GPS_None() : GPS() {} AP_GPS_None() : GPS() {}
virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE) { virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting) {
_port = s; _port = s;
}; };
virtual bool read(void) { virtual bool read(void) {

2
libraries/AP_GPS/AP_GPS_SIRF.h

@ -38,7 +38,7 @@ public:
_msg_id(0) _msg_id(0)
{} {}
virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE); virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting);
virtual bool read(); virtual bool read();
static bool _detect(uint8_t data); static bool _detect(uint8_t data);

2
libraries/AP_GPS/AP_GPS_UBLOX.h

@ -57,7 +57,7 @@ public:
{} {}
// Methods // Methods
virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE); virtual void init(AP_HAL::UARTDriver *s, enum GPS_Engine_Setting nav_setting);
virtual bool read(); virtual bool read();
static bool _detect(uint8_t ); static bool _detect(uint8_t );

Loading…
Cancel
Save