Skip to content
Snippets Groups Projects
Commit 510781a6 authored by Stephen D's avatar Stephen D
Browse files

change packet formatting

parent 3c20baf0
No related branches found
No related tags found
No related merge requests found
Pipeline #3884 passed
......@@ -68,7 +68,7 @@ pub fn print_packet(pkt: &Packet<MAX_PACKET_LEN>, rssi: Option<f64>) {
}
if let Some(gps) = pkt.gps() {
println!(
"{} \t({:07.2}, {:07.2}) +/- {:03} m, v = {:.2} m/s [N {:.2} deg]",
"{} \t({:07.4}, {:07.4}) +/- {:03} m, v = {:.2} m/s [N {:.2} deg]",
"GPS:".color(color),
gps.latitude(),
gps.longitude(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment