From f5b60f30f5bcd32b12314b1af8130f2c71690959 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Tue, 30 Oct 2018 20:14:48 -0700 Subject: libgps_json: Add a bit of RAW debug. --- libgps_core.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libgps_core.c') diff --git a/libgps_core.c b/libgps_core.c index 795a9018..9d05ce67 100644 --- a/libgps_core.c +++ b/libgps_core.c @@ -371,6 +371,8 @@ void libgps_dump_state(struct gps_data_t *collect) sp->used ? 'Y' : 'N'); } } + if (collect->set & RAW_SET) + (void)fprintf(debugfp, "RAW: got raw data\n"); if (collect->set & DEVICE_SET) (void)fprintf(debugfp, "DEVICE: Device is '%s', driver is '%s'\n", collect->dev.path, collect->dev.driver); -- cgit v1.2.1