diff options
Diffstat (limited to 'libgps_core.c')
-rw-r--r-- | libgps_core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libgps_core.c b/libgps_core.c index 40b7425a..29ac6da1 100644 --- a/libgps_core.c +++ b/libgps_core.c @@ -313,6 +313,9 @@ void libgps_dump_state(struct gps_data_t *collect) (void)fprintf(debugfp, "SPEED: %lf\n", collect->fix.speed); if (collect->set & TRACK_SET) (void)fprintf(debugfp, "TRACK: track: %lf\n", collect->fix.track); + if (collect->set & MAGNETIC_TRACK_SET) + (void)fprintf(debugfp, "MAGNETIC_TRACK: magtrack: %lf\n", + collect->fix.magnetic_track); if (collect->set & CLIMB_SET) (void)fprintf(debugfp, "CLIMB: climb: %lf\n", collect->fix.climb); if (collect->set & STATUS_SET) { |