aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/gps/gps_helper.h
diff options
context:
space:
mode:
authorJulian Oes <joes@student.ethz.ch>2013-02-08 11:05:57 -0800
committerJulian Oes <joes@student.ethz.ch>2013-02-08 11:05:57 -0800
commitdf6cf142e7d67fa8c868245ff144f4e1d4ebdfb3 (patch)
tree9ec152c9560b5e8a14d6d6f719bd6d211c32fb37 /apps/drivers/gps/gps_helper.h
parenta88b9f4eefe8315cb692779dd300400d8052eb44 (diff)
downloadpx4-firmware-df6cf142e7d67fa8c868245ff144f4e1d4ebdfb3.tar.gz
px4-firmware-df6cf142e7d67fa8c868245ff144f4e1d4ebdfb3.tar.bz2
px4-firmware-df6cf142e7d67fa8c868245ff144f4e1d4ebdfb3.zip
Another rewrite: most of the polling, reading and writing is now inside the GPS classes
Diffstat (limited to 'apps/drivers/gps/gps_helper.h')
-rw-r--r--apps/drivers/gps/gps_helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/drivers/gps/gps_helper.h b/apps/drivers/gps/gps_helper.h
index 537ca819c..f3d3bc40b 100644
--- a/apps/drivers/gps/gps_helper.h
+++ b/apps/drivers/gps/gps_helper.h
@@ -44,8 +44,8 @@
class GPS_Helper
{
public:
- virtual int configure(const int &fd, unsigned &baud) = 0;
- virtual int receive(const int &fd, struct vehicle_gps_position_s &gps_position) = 0;
+ virtual int configure(unsigned &baud) = 0;
+ virtual int receive(unsigned timeout) = 0;
int set_baudrate(const int &fd, unsigned baud);
};