mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 02:32:23 +00:00
Missed a spot to disable.
This commit is contained in:
@@ -301,7 +301,7 @@ void RadioLibInterface::handleReceiveInterrupt()
|
|||||||
void RadioLibInterface::startSend(MeshPacket *txp)
|
void RadioLibInterface::startSend(MeshPacket *txp)
|
||||||
{
|
{
|
||||||
printPacket("Starting low level send", 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");
|
DEBUG_MSG("startSend is dropping tx packet because we are disabled\n");
|
||||||
packetPool.release(txp);
|
packetPool.release(txp);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user