Skip favorite nodes when clearing out oldest in NodeDB (#3464)

* Skip favorite nodes when clearing out oldest in NodeDB

* We should actually map between the types
This commit is contained in:
Ben Meadors authored and GitHub committed 2024-03-21 19:51:02 -05:00
1 parent a57f7730ea
commit 7aa013a716
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -12,6 +12,7 @@ meshtastic_NodeInfo TypeConversions::ConvertToNodeInfo(const meshtastic_NodeInfo
info.channel = lite->channel;
info.via_mqtt = lite->via_mqtt;
info.hops_away = lite->hops_away;
info.is_favorite = lite->is_favorite;
if (lite->has_position) {
info.has_position = true;