Merge branch 'Tracker-1000E' of github.com:meshtastic/firmware into Tracker-1000E

# Conflicts:
#	src/mesh/LR11x0Interface.cpp
This commit is contained in:
Thomas Göttgens
2024-09-03 09:59:44 +02:00
2 changed files with 3 additions and 2 deletions

View File

@@ -194,6 +194,8 @@ size_t PhoneAPI::getFromRadio(uint8_t *buf)
auto us = nodeDB->readNextMeshNode(readIndex);
if (us) {
nodeInfoForPhone = TypeConversions::ConvertToNodeInfo(us);
nodeInfoForPhone.hops_away = 0;
nodeInfoForPhone.is_favorite = true;
fromRadioScratch.which_payload_variant = meshtastic_FromRadio_node_info_tag;
fromRadioScratch.node_info = nodeInfoForPhone;
// Should allow us to resume sending NodeInfo in STATE_SEND_OTHER_NODEINFOS