Skip to content

Commit

Permalink
Fixing variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
danthony06 committed May 9, 2024
1 parent d5f7aee commit 5e28c9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gpsd_client/src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ class GPSDClient {

// Read out all queued data and only act on the latest
gps_data_t* p = NULL;
while (gps_->waiting(0))
while (gps->waiting(0))
{
p = gps_->read();
p = gps->read();
}
#else
gps_data_t *p = gps->poll();
Expand Down

0 comments on commit 5e28c9b

Please sign in to comment.