Skip to content

Commit

Permalink
Enabled GPS
Browse files Browse the repository at this point in the history
  • Loading branch information
Bing-Rover committed Mar 16, 2024
1 parent a589fe2 commit 8f4ce48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/src/devices/gps.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ class GpsReader extends Service {
return false;
}
_subscription = device.stream.listen(_handlePacket);
device.startListening();
logger.info("Reading GPS over port $gpsPort");
return true;
} catch (error) {
logger.critical("Could not open GPS", body: "Port $gpsPort, Error=$error");
Expand Down

0 comments on commit 8f4ce48

Please sign in to comment.