mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-10-23 12:12:24 +00:00
Prioritize and pace private TempRadio OTA
This commit is contained in:
1 parent
f7c2d382c3
commit
cd824765b4
15 files changed
+851
-232
No files matched your search
@@ -384,6 +384,8 @@ bool MyMesh::isLooped(const mesh::Packet* packet,
|
||||
|
||||
int MyMesh::calcRxDelayForPacket(const mesh::Packet* packet, float score,
|
||||
uint32_t air_time) {
|
||||
if (packet != NULL && packet->getPayloadType() == PAYLOAD_TYPE_OTA
|
||||
&& isTempRadioActive()) return 0;
|
||||
bool fast_track = false;
|
||||
if (!evaluateFloodRuleTiming(packet, fast_track)) {
|
||||
return calcRxDelay(score, air_time);
|
||||
|
||||
Reference in new issue
Block a user