summaryrefslogtreecommitdiff
path: root/gpsd_json.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsd_json.c')
-rw-r--r--gpsd_json.c4
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] == ',')