Missed a spot to disable.

pull/1066/head
Erik R Norell 2022-01-06 20:00:53 +03:00
rodzic 9d8a1b3522
commit b6eb927ad2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -301,7 +301,7 @@ void RadioLibInterface::handleReceiveInterrupt()
void RadioLibInterface::startSend(MeshPacket *txp)
{
printPacket("Starting low level send", txp);
if (disabled) {
if (disabled || radioConfig.preferences.is_lora_tx_disabled) {
DEBUG_MSG("startSend is dropping tx packet because we are disabled\n");
packetPool.release(txp);
} else {