Skip to content

Commit d68e21b

Browse files
committed
fix typo
1 parent e12b6db commit d68e21b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

swiftnav/src/nmea/gga.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use chrono::{DateTime, Timelike, Utc};
88

99
use crate::{
1010
coords::LLHDegrees,
11-
nmea::{self, Source},
11+
nmea::{self},
1212
};
1313

1414
/// Quality of GPS solution
@@ -108,8 +108,9 @@ impl GGA {
108108
.geoidal_separation
109109
.map_or(String::new(), |sep| format!("{sep:.2}"));
110110

111-
let reference_station_id = self.reference_station_id
112-
.map_or(String::new(), |id| id.to_string())
111+
let reference_station_id = self
112+
.reference_station_id
113+
.map_or(String::new(), |id| id.to_string());
113114

114115
let sentence = format!(
115116
"GPGGA,{timestamp},{latitude:.6},{latitudinal_hemisphere},{longitude:.6},{longitudinal_hemisphere},{gps_quality},{sat_in_use},{hdop},{height:.6},M,{geoidal_separation},{age_dgps:.1},{reference_station_id}",

0 commit comments

Comments
 (0)