diff --git a/modules/core_phone/src/meshtastic/meshtastic_phone_core.cpp b/modules/core_phone/src/meshtastic/meshtastic_phone_core.cpp index 5f44c2bb..1a48c69e 100644 --- a/modules/core_phone/src/meshtastic/meshtastic_phone_core.cpp +++ b/modules/core_phone/src/meshtastic/meshtastic_phone_core.cpp @@ -679,7 +679,9 @@ bool MeshtasticPhoneCore::shouldProjectNodeInfo(chat::NodeId node_id, uint32_t s } } - node_projection_cache_[node_projection_cache_next_] = {node_id, signature}; + auto& cache_entry = node_projection_cache_[node_projection_cache_next_]; + cache_entry.node_id = node_id; + cache_entry.signature = signature; node_projection_cache_next_ = (node_projection_cache_next_ + 1U) % node_projection_cache_.size(); return true; }