Serial tx delay update

master 1.0.14
sh123 2023-11-17 15:49:48 +02:00
rodzic cf99eb014d
commit e78e0e8513
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -50,6 +50,7 @@ protected:
None = 0x80
};
static const int CfgToSerialDelayMs = 10;
static const int CfgSerialToRigQueueSize = 4096;
static const int CfgRigToSerialQueueSize = 4096;

Wyświetl plik

@ -134,7 +134,7 @@ bool Processor::processRigToSerial()
onRigPacket(&buf, rxPacketSize);
isProcessed = true;
yield();
if (!rigToSerialQueueIndex_.isEmpty()) delay(CfgToSerialDelayMs);
}
return isProcessed;
}