Skip to content

Commit

Permalink
Added debug message for writing RTCM data
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold872 committed Nov 13, 2024
1 parent 63e180e commit 559426b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/src/devices/gps.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ class GpsReader extends Service {
return;
}

device.write(Uint8List.fromList(message.rtkMessage));
final rtkMessage = Uint8List.fromList(message.rtkMessage);
logger.debug("Writing RTK Message", body: "Writing a ${rtkMessage.lengthInBytes} byte RTCM packet to serial");
device.write(rtkMessage);
}

@override
Expand Down

0 comments on commit 559426b

Please sign in to comment.