uncrustify libraries/AP_GPS/AP_GPS_Auto.h

This commit is contained in:
uncrustify 2012-08-16 23:19:44 -07:00 committed by Pat Hickey
parent 31d2076794
commit bcd77b4cca

View File

@ -24,28 +24,28 @@ public:
AP_GPS_Auto(FastSerial *s, GPS **gps); AP_GPS_Auto(FastSerial *s, GPS **gps);
/// Dummy init routine, does nothing /// Dummy init routine, does nothing
virtual void init(enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE); virtual void init(enum GPS_Engine_Setting nav_setting = GPS_ENGINE_NONE);
/// 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.
/// ///
virtual bool read(void); virtual bool read(void);
private: private:
/// Copy of the port, known at construction time to be a real FastSerial port. /// Copy of the port, known at construction time to be a real FastSerial port.
FastSerial *_fs; FastSerial * _fs;
/// global GPS driver pointer, updated by auto-detection /// global GPS driver pointer, updated by auto-detection
/// ///
GPS **_gps; GPS ** _gps;
/// low-level auto-detect routine /// low-level auto-detect routine
/// ///
GPS *_detect(void); GPS * _detect(void);
static const prog_char _mtk_set_binary[]; static const prog_char _mtk_set_binary[];
static const prog_char _sirf_set_binary[]; static const prog_char _sirf_set_binary[];
enum GPS_Engine_Setting _nav_setting; enum GPS_Engine_Setting _nav_setting;
}; };
#endif #endif