include negative snr in rangetest

master
andrekir 2022-10-26 17:03:51 -03:00
rodzic 740e86d664
commit 7cdb1d0f90
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -465,7 +465,7 @@ class UIViewModel @Inject constructor(
// Filter out of our results any packet that doesn't report SNR. This
// is primarily ADMIN_APP.
if (proto.rxSnr > 0.0f) {
if (proto.rxSnr != 0.0f) {
val rxDateTime = dateFormat.format(packet.received_date)
val rxFrom = proto.from.toUInt()
val senderName = nodesById[proto.from]?.user?.longName ?: ""