chore: remove MeshServiceTest

This commit is contained in:
andrekir 2024-09-08 08:33:39 -03:00
parent 8be6d74ed8
commit a916871596
2 changed files with 1 additions and 29 deletions

View file

@ -1053,7 +1053,7 @@ class MeshService : Service(), Logging {
val rxTime = if (packet.rxTime != 0) packet.rxTime else currentSecond()
// Update our last seen based on any valid timestamps. If the device didn't provide a timestamp make one
updateNodeInfoTime(it, rxTime)
it.lastHeard = rxTime
it.snr = packet.rxSnr
it.rssi = packet.rxRssi
@ -1997,7 +1997,3 @@ class MeshService : Service(), Logging {
}
}
}
fun updateNodeInfoTime(it: NodeInfo, rxTime: Int) {
it.lastHeard = rxTime
}