aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers/gps/mtk.h
diff options
context:
space:
mode:
authorJulian Oes <joes@student.ethz.ch>2013-02-06 23:25:09 -0800
committerJulian Oes <joes@student.ethz.ch>2013-02-06 23:25:09 -0800
commitd36eb8a3fcce358409a7205bbd75576a447ac7b4 (patch)
treeabd73d1b4d2829502464c108770449b4f49f755c /apps/drivers/gps/mtk.h
parentb620136af4f8de913fd12872a91a80f62861dc4c (diff)
downloadpx4-firmware-d36eb8a3fcce358409a7205bbd75576a447ac7b4.tar.gz
px4-firmware-d36eb8a3fcce358409a7205bbd75576a447ac7b4.tar.bz2
px4-firmware-d36eb8a3fcce358409a7205bbd75576a447ac7b4.zip
Sped up MTK configuration but the detection time can still be improved: timeouts/usleeps
Diffstat (limited to 'apps/drivers/gps/mtk.h')
-rw-r--r--apps/drivers/gps/mtk.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/drivers/gps/mtk.h b/apps/drivers/gps/mtk.h
index 7a4b4f197..e43637195 100644
--- a/apps/drivers/gps/mtk.h
+++ b/apps/drivers/gps/mtk.h
@@ -99,7 +99,8 @@ private:
*/
void addByteToChecksum(uint8_t);
- mtk_decode_state_t _decode_state;
+ mtk_decode_state_t _decode_state;
+ bool _config_sent;
uint8_t _mtk_revision;
uint8_t _rx_buffer[MTK_RECV_BUFFER_SIZE];
unsigned _rx_count;