diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-04-01 04:29:17 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-04-01 04:29:17 -0400 |
commit | abb7c5d31235af27b4b3ac620b97a8c5260f26a3 (patch) | |
tree | 9382c5395ca26d378c89b9561a15cba2b72603b4 /gpsd_json.c | |
parent | e9405f56aa4a2f39852362b3134878c3049783c2 (diff) | |
download | gpsd-abb7c5d31235af27b4b3ac620b97a8c5260f26a3.tar.gz |
Regularize some names.
Diffstat (limited to 'gpsd_json.c')
-rw-r--r-- | gpsd_json.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsd_json.c b/gpsd_json.c index e3ede58e..65879b21 100644 --- a/gpsd_json.c +++ b/gpsd_json.c @@ -377,14 +377,14 @@ void json_device_dump(const struct gps_device_t *device, device->gpsdata.dev.parity, device->gpsdata.dev.stopbits, device->gpsdata.dev.cycle); -#ifdef ALLOW_RECONFIGURE +#ifdef RECONFIGURE_ENABLE if (device->device_type != NULL && device->device_type->rate_switcher != NULL) (void)snprintf(reply + strlen(reply), replylen - strlen(reply), ",\"mincycle\":%2.2f", device->device_type->min_cycle); -#endif /* ALLOW_RECONFIGURE */ +#endif /* RECONFIGURE_ENABLE */ } } if (reply[strlen(reply) - 1] == ',') |