Skip to content

Commit

Permalink
Add back in checking of fix type.
Browse files Browse the repository at this point in the history
  • Loading branch information
linguini1 committed Jun 10, 2024
1 parent 71c9d0d commit c285698
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/collectors/m10spg_clctr.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ void *m10spg_collector(void *args) {
continue;
}

fix_type = buf.stat.gpsFix;

// Don't bother reading any information if there's no fix
if (fix_type == GPS_NO_FIX) {
fetcher_log(stderr, LOG_WARN, "M10SPG could not get fix.");
Expand Down

0 comments on commit c285698

Please sign in to comment.