mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-01-30 23:53:54 +00:00
Fix typo in gateway stats handling. (#458)
This commit is contained in:
parent
15461d8cc5
commit
d39fbea7af
@ -84,7 +84,7 @@ impl Stats {
|
|||||||
if !(loc.latitude == 0.0 && loc.longitude == 0.0 && loc.altitude == 0.0) {
|
if !(loc.latitude == 0.0 && loc.longitude == 0.0 && loc.altitude == 0.0) {
|
||||||
gw_cs.latitude = Some(loc.latitude);
|
gw_cs.latitude = Some(loc.latitude);
|
||||||
gw_cs.longitude = Some(loc.longitude);
|
gw_cs.longitude = Some(loc.longitude);
|
||||||
gw_cs.altitude = Some(loc.longitude as f32);
|
gw_cs.altitude = Some(loc.altitude as f32);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user