summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-08 17:58:05 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-08 17:58:05 -0400
commitfeb4c819daa31497e45e63d2ed107d8f7d3022e6 (patch)
treec7a355772f611ae2e5704b5e2eb65cbe4c760293 /gps.h
parent34d5fc4bda1c2c56fb5e7e3004668e378e67e74d (diff)
downloadgpsd-feb4c819daa31497e45e63d2ed107d8f7d3022e6.tar.gz
Another cosmetic tweak.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gps.h b/gps.h
index 21be5ddf..4d540241 100644
--- a/gps.h
+++ b/gps.h
@@ -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];
};