More priorities for different types of MeshPackets (#4606)

This commit is contained in:
GUVWAF
2024-09-01 17:29:53 +02:00
committed by GitHub
parent e45a358de0
commit 56223710b5
2 changed files with 12 additions and 3 deletions

View File

@@ -107,6 +107,7 @@ void NeighborInfoModule::sendNeighborInfo(NodeNum dest, bool wantReplies)
// because we want to get neighbors for the next cycle
p->to = dest;
p->decoded.want_response = wantReplies;
p->priority = meshtastic_MeshPacket_Priority_BACKGROUND;
printNeighborInfo("SENDING", &neighborInfo);
service->sendToMesh(p, RX_SRC_LOCAL, true);
}