diff options
author | Julian Oes <joes@student.ethz.ch> | 2013-02-04 17:57:30 -0800 |
---|---|---|
committer | Julian Oes <joes@student.ethz.ch> | 2013-02-04 17:57:30 -0800 |
commit | 53c11f87cb9b231cfb9199ce797d983f4e2c6a40 (patch) | |
tree | 65d7e366feb62bffe42bc961b1254bdb2e87c3ff | |
parent | 039d394c207830a2c9c3a22e03302c867bd57af6 (diff) | |
download | px4-firmware-53c11f87cb9b231cfb9199ce797d983f4e2c6a40.tar.gz px4-firmware-53c11f87cb9b231cfb9199ce797d983f4e2c6a40.tar.bz2 px4-firmware-53c11f87cb9b231cfb9199ce797d983f4e2c6a40.zip |
Small corrections
-rw-r--r-- | apps/drivers/gps/gps.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/drivers/gps/gps.cpp b/apps/drivers/gps/gps.cpp index 450b3091b..f4fd7b88e 100644 --- a/apps/drivers/gps/gps.cpp +++ b/apps/drivers/gps/gps.cpp @@ -110,13 +110,13 @@ private: bool _task_should_exit; ///< flag to make the main worker task exit int _serial_fd; ///< serial interface to GPS unsigned _baudrate; ///< current baudrate - unsigned _baudrates_to_try[NUMBER_OF_BAUDRATES]; ///< try different baudrates that GPS could be set to + const unsigned _baudrates_to_try[NUMBER_OF_BAUDRATES]; ///< try different baudrates that GPS could be set to volatile int _task; ///< worker task bool _config_needed; ///< flag to signal that configuration of GPS is needed bool _baudrate_changed; ///< flag to signal that the baudrate with the GPS has changed bool _mode_changed; ///< flag that the GPS mode has changed gps_driver_mode_t _mode; ///< current mode - GPS_Helper *_Helper; ///< Class for either UBX, MTK or NMEA helper + GPS_Helper *_Helper; ///< Class for a GPS interface struct vehicle_gps_position_s _report; ///< uORB topic for gps position orb_advert_t _report_pub; ///< uORB pub for gps position float _rate; ///< position update rate |