diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-04-08 17:58:05 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-04-08 17:58:05 -0400 |
commit | feb4c819daa31497e45e63d2ed107d8f7d3022e6 (patch) | |
tree | c7a355772f611ae2e5704b5e2eb65cbe4c760293 /gps.h | |
parent | 34d5fc4bda1c2c56fb5e7e3004668e378e67e74d (diff) | |
download | gpsd-feb4c819daa31497e45e63d2ed107d8f7d3022e6.tar.gz |
Another cosmetic tweak.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -42,8 +42,7 @@ extern "C" { #define MAXCHANNELS 20 /* maximum GPS channels (*not* satellites!) */ #define GPS_PRNMAX 32 /* above this number are SBAS satellites */ #define GPS_PATH_MAX 64 /* dev files usually have short names */ - -#define MAXDEVICES_PER_USER 4 /* old protocol only */ +#define MAXUSERDEVS 4 /* max devices per user */ /* * The structure describing an uncertainty volume in kinematic space. @@ -1026,7 +1025,7 @@ struct gps_data_t { struct { double time; int ndevices; - struct devconfig_t list[MAXDEVICES_PER_USER]; + struct devconfig_t list[MAXUSERDEVS]; } devices; char error[80]; }; |