mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-27 15:02:41 +00:00
Renaming node to coldNode to avoid shadowing.
This commit is contained in:
parent
19d59a116d
commit
1d896f1bba
@ -2265,9 +2265,9 @@ meshtastic_NodeInfoLite *NodeDB::getOrCreateMeshNode(NodeNum n)
|
|||||||
oldest = hot.last_heard;
|
oldest = hot.last_heard;
|
||||||
oldestIndex = i;
|
oldestIndex = i;
|
||||||
}
|
}
|
||||||
const auto &node = psramMeshNodes[i];
|
const auto &coldNode = psramMeshNodes[i];
|
||||||
if (!(hot.flags & HOT_FLAG_IS_FAVORITE) && !(hot.flags & HOT_FLAG_IS_IGNORED) && node.user.public_key.size == 0 &&
|
if (!(hot.flags & HOT_FLAG_IS_FAVORITE) && !(hot.flags & HOT_FLAG_IS_IGNORED) &&
|
||||||
hot.last_heard < oldestBoring) {
|
coldNode.user.public_key.size == 0 && hot.last_heard < oldestBoring) {
|
||||||
oldestBoring = hot.last_heard;
|
oldestBoring = hot.last_heard;
|
||||||
oldestBoringIndex = i;
|
oldestBoringIndex = i;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user