use priority background for low priority messages (#3381)

This commit is contained in:
Thomas Herrmann
2024-03-12 12:21:09 -05:00
committed by GitHub
co-authored by GitHub
parent 7f063fbf81
commit cf11807f97
6 changed files with 7 additions and 7 deletions
@@ -253,7 +253,7 @@ bool EnvironmentTelemetryModule::sendTelemetry(NodeNum dest, bool phoneOnly)
if (config.device.role == meshtastic_Config_DeviceConfig_Role_SENSOR)
p->priority = meshtastic_MeshPacket_Priority_RELIABLE;
else
p->priority = meshtastic_MeshPacket_Priority_MIN;
p->priority = meshtastic_MeshPacket_Priority_BACKGROUND;
// release previous packet before occupying a new spot
if (lastMeasurementPacket != nullptr)
packetPool.release(lastMeasurementPacket);