Set high priority for text messages (#4592)

This commit is contained in:
GUVWAF
2024-08-30 21:54:44 +02:00
committed by GitHub
parent 8144dcbc25
commit eb071ec80d
3 changed files with 15 additions and 7 deletions

View File

@@ -48,4 +48,7 @@ extern Allocator<meshtastic_MeshPacket> &packetPool;
* Most (but not always) of the time we want to treat packets 'from' the local phone (where from == 0), as if they originated on
* the local node. If from is zero this function returns our node number instead
*/
NodeNum getFrom(const meshtastic_MeshPacket *p);
NodeNum getFrom(const meshtastic_MeshPacket *p);
/* Some clients might not properly set priority, therefore we fix it here. */
void fixPriority(meshtastic_MeshPacket *p);