diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-12-18 12:38:31 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-12-18 12:38:31 +0000 |
commit | d27626a60d41003b040164032db6739c6e39ba9a (patch) | |
tree | 01307cc80af2bcd63fb162692e7437eeabfb5e81 /gps.h | |
parent | 8a1dd307a40e9d4a1c4b49564c27209b93291e7f (diff) | |
download | gpsd-d27626a60d41003b040164032db6739c6e39ba9a.tar.gz |
Fix AIS dumping of altitude and speed in SAR report.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -586,8 +586,10 @@ struct ais_t struct { uint alt; /* altitude in meters */ #define AIS_ALT_NOT_AVAILABLE 4095 -#define AIS_ALT_FAST_MOVER 4094 /* 4094 meters or higher */ +#define AIS_ALT_HIGH 4094 /* 4094 meters or higher */ uint speed; /* speed over ground in deciknots */ +#define AIS_SAR_SPEED_NOT_AVAILABLE 1023 +#define AIS_SAR_FAST_MOVER 1022 bool accuracy; /* position accuracy */ int lon; /* longitude */ int lat; /* latitude */ |