aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/gps/ubx.h
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-05-30 21:57:48 +0200
committerAnton Babushkin <anton.babushkin@me.com>2014-05-30 21:57:48 +0200
commitefb44969d584e1b2613d96a795fc94a3ef728d9a (patch)
tree1cd5f25de151b4a8014f767a63f74c8d90e7c067 /src/drivers/gps/ubx.h
parent47c9d326209034dc373ab54647d29df4e63b5285 (diff)
downloadpx4-firmware-efb44969d584e1b2613d96a795fc94a3ef728d9a.tar.gz
px4-firmware-efb44969d584e1b2613d96a795fc94a3ef728d9a.tar.bz2
px4-firmware-efb44969d584e1b2613d96a795fc94a3ef728d9a.zip
ubx: send update only if got POSLLH & VELNED & TIMEUTC
Diffstat (limited to 'src/drivers/gps/ubx.h')
-rw-r--r--src/drivers/gps/ubx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/gps/ubx.h b/src/drivers/gps/ubx.h
index 5cf47b60b..43d688893 100644
--- a/src/drivers/gps/ubx.h
+++ b/src/drivers/gps/ubx.h
@@ -397,6 +397,9 @@ private:
struct vehicle_gps_position_s *_gps_position;
bool _configured;
bool _waiting_for_ack;
+ bool _got_posllh;
+ bool _got_velned;
+ bool _got_timeutc;
uint8_t _message_class_needed;
uint8_t _message_id_needed;
ubx_decode_state_t _decode_state;