@@ -115,6 +115,7 @@ class GPSHardware {
115115 float GetSpeed ();
116116 float GetAngle ();
117117 float GetGeoidHeight ();
118+
118119private:
119120 bool QueryModuleType ();
120121 bool DetectMtkUart ();
@@ -132,15 +133,15 @@ class GPSHardware {
132133 nullptr ; // /< Optional Adafruit UBlox DDC instance
133134 Adafruit_UBX *_ubx_gps = nullptr ; // /< Optional Adafruit UBX instance
134135 uint32_t _addr; // /< Optional i2c address
135- ulong _period; // /< Polling period for GPS data (Specified by IO), in ms
136- ulong _period_prv; // /< Previous period for GPS data (Specified by IO), in ms
137- ulong _kat_prv; // /< Last time the GPS hardware was polled, in ms
138- uint32_t _baudrate; // /< Baud rate of UART bus
139- int _nmea_update_rate; // /< NMEA update rate for GPS data, in Hz
140- int _nmea_baud_rate; // /< NMEA baud rate for GPS data, in bits per second
136+ ulong _period; // /< Polling period for GPS data (Specified by IO), in ms
137+ ulong _period_prv; // /< Previous period for GPS data (Specified by IO), in ms
138+ ulong _kat_prv; // /< Last time the GPS hardware was polled, in ms
139+ uint32_t _baudrate; // /< Baud rate of UART bus
140+ int _nmea_update_rate; // /< NMEA update rate for GPS data, in Hz
141+ int _nmea_baud_rate; // /< NMEA baud rate for GPS data, in bits per second
141142 int NmeaBufPush (
142- const char *new_sentence); // /< Push a sentence to the NMEA ring buffer
143- nmea_buffer_t _nmea_buff; // /< NMEA ring buffer for storing sentences
143+ const char *new_sentence); // /< Push a sentence to the NMEA ring buffer
144+ nmea_buffer_t _nmea_buff; // /< NMEA ring buffer for storing sentences
144145};
145146extern Wippersnapper_V2 WsV2; // /< Wippersnapper V2 instance
146147#endif // WS_GPS_HARDWARE_H
0 commit comments