From b6eb927ad2d6c86f76cd0a0cea70086e63a261db Mon Sep 17 00:00:00 2001 From: Erik R Norell Date: Thu, 6 Jan 2022 20:00:53 +0300 Subject: [PATCH] Missed a spot to disable. --- src/mesh/RadioLibInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/RadioLibInterface.cpp b/src/mesh/RadioLibInterface.cpp index 89b4b11bc..67c1ad4a6 100644 --- a/src/mesh/RadioLibInterface.cpp +++ b/src/mesh/RadioLibInterface.cpp @@ -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 {