diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2005-08-05 03:56:18 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2005-08-05 03:56:18 +0000 |
commit | 06de3b96d2f72540fc5588ff81773bbf46b4b8f5 (patch) | |
tree | a2342c1daab9456a6ec41a63842b85173586f2b0 /gpsd.h | |
parent | b33e14b09be1de0bc944fa4f4b986d289a7d1362 (diff) | |
download | gpsd-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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]; |