mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
chore: remove MeshServiceTest
This commit is contained in:
parent
8be6d74ed8
commit
a916871596
2 changed files with 1 additions and 29 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue