Fix typo in gateway stats handling. (#458)

This commit is contained in:
Bernd Storath 2024-07-11 10:01:20 +02:00 committed by GitHub
parent 15461d8cc5
commit d39fbea7af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,7 +84,7 @@ impl Stats {
if !(loc.latitude == 0.0 && loc.longitude == 0.0 && loc.altitude == 0.0) {
gw_cs.latitude = Some(loc.latitude);
gw_cs.longitude = Some(loc.longitude);
gw_cs.altitude = Some(loc.longitude as f32);
gw_cs.altitude = Some(loc.altitude as f32);
}
}