mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-27 10:21:40 +00:00
Update NodeDB.cpp
This commit is contained in:
parent
f6f586decb
commit
89029311c1
@ -494,8 +494,6 @@ void NodeDB::updateFrom(const MeshPacket &mp)
|
|||||||
|
|
||||||
if (mp.rx_time) { // if the packet has a valid timestamp use it to update our last_seen
|
if (mp.rx_time) { // if the packet has a valid timestamp use it to update our last_seen
|
||||||
|
|
||||||
sawSecAgo = sinceLastSeen(info); // Used by S&F
|
|
||||||
|
|
||||||
info->has_position = true; // at least the time is valid
|
info->has_position = true; // at least the time is valid
|
||||||
info->position.time = mp.rx_time;
|
info->position.time = mp.rx_time;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user