diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-23 19:41:54 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-05-23 19:41:54 +0200 |
commit | 0a691eeb7ed1ff36b2f782c3910cc84a51da3b3b (patch) | |
tree | 82094ccd179734fc75498bb42cb906ff2d2aa6bd /src/drivers/gps/gps_helper.h | |
parent | ffe095646c5984236731c88fabfe2b2b0cedf983 (diff) | |
parent | 5dab59d3cd866196311003587f77a1ea1dd5d1da (diff) | |
download | px4-firmware-0a691eeb7ed1ff36b2f782c3910cc84a51da3b3b.tar.gz px4-firmware-0a691eeb7ed1ff36b2f782c3910cc84a51da3b3b.tar.bz2 px4-firmware-0a691eeb7ed1ff36b2f782c3910cc84a51da3b3b.zip |
Merge branch 'master' of github.com:PX4/Firmware into gps_logging_dual
Diffstat (limited to 'src/drivers/gps/gps_helper.h')
-rw-r--r-- | src/drivers/gps/gps_helper.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/drivers/gps/gps_helper.h b/src/drivers/gps/gps_helper.h index cfb9e0d43..d14a95afe 100644 --- a/src/drivers/gps/gps_helper.h +++ b/src/drivers/gps/gps_helper.h @@ -46,13 +46,17 @@ class GPS_Helper { public: + + GPS_Helper() {}; + virtual ~GPS_Helper() {}; + virtual int configure(unsigned &baud) = 0; virtual int receive(unsigned timeout) = 0; int set_baudrate(const int &fd, unsigned baud); float get_position_update_rate(); float get_velocity_update_rate(); - float reset_update_rates(); - float store_update_rates(); + void reset_update_rates(); + void store_update_rates(); protected: uint8_t _rate_count_lat_lon; |