diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2007-12-10 01:56:49 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2007-12-10 01:56:49 +0000 |
commit | cbe26e0fb1ab89120356bf11e0997bd2b0bf817f (patch) | |
tree | dd11bee29aeac8252f396f4a8a6ae07eb4652657 /gpsd.c | |
parent | 046d89ba46d89dac451bc74772ceb2452805a602 (diff) | |
download | gpsd-cbe26e0fb1ab89120356bf11e0997bd2b0bf817f.tar.gz |
Log the transfer mask describing what data gets moved from devices...
...to user fixbuffers, this is useful in pinpointing data-management
problems.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1667,6 +1667,8 @@ int main(int argc, char *argv[]) /* don't downgrade mode if holding previous fix */ if (sub->fixbuffer.mode > sub->device->gpsdata.fix.mode) changed &=~ MODE_SET; + gpsd_report(LOG_PROG, + "transfer mask: %02x\n", changed); gps_merge_fix(&sub->fixbuffer, changed, &sub->device->gpsdata.fix); |