summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2005-08-05 03:56:18 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2005-08-05 03:56:18 +0000
commit06de3b96d2f72540fc5588ff81773bbf46b4b8f5 (patch)
treea2342c1daab9456a6ec41a63842b85173586f2b0 /gpsd.h
parentb33e14b09be1de0bc944fa4f4b986d289a7d1362 (diff)
downloadgpsd-06de3b96d2f72540fc5588ff81773bbf46b4b8f5.tar.gz
Fix/workaround the effects of gpsd_open and friends forgetting the baud rate...
...of a re-opened device
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpsd.h b/gpsd.h
index 7d098817..4719f6ed 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -129,6 +129,7 @@ struct gps_device_t {
#define ITALK_PACKET 5
#define RTCM_PACKET 6
unsigned int baudindex;
+ int saved_baud;
unsigned int packet_state;
size_t packet_length;
unsigned char inbuffer[MAX_PACKET_LENGTH*2+1];