feat: Add RX/TX activity indicators and packet counters; update GPS coordinate conversion

This commit is contained in:
Janez T
2025-10-14 10:46:07 +02:00
parent 62bbb342ec
commit 373998bc7d
6 changed files with 316 additions and 33 deletions

View File

@@ -79,8 +79,8 @@ class Contact {
LatLng? get advertLocation {
if (advLat == 0 && advLon == 0) return null;
// Convert from int32 to double (degrees)
final lat = advLat / 1e7;
final lon = advLon / 1e7;
final lat = advLat / 1e6;
final lon = advLon / 1e6;
return LatLng(lat, lon);
}