From 2631a9324eda53fadc6184ff6eba945f632ed38a Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Mon, 23 May 2022 22:06:38 -0700 Subject: [PATCH] Update from radioConfig.preferences to config.lora --- src/mesh/RadioLibInterface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesh/RadioLibInterface.cpp b/src/mesh/RadioLibInterface.cpp index 8603d06b4..96dcb948d 100644 --- a/src/mesh/RadioLibInterface.cpp +++ b/src/mesh/RadioLibInterface.cpp @@ -101,7 +101,7 @@ ErrorCode RadioLibInterface::send(MeshPacket *p) if (radioConfig.preferences.region != RegionCode_Unset) { - if (disabled || radioConfig.preferences.is_lora_tx_disabled) { + if (disabled || config.lora.tx_disabled) { DEBUG_MSG("send - lora_tx_disabled\n"); packetPool.release(p); return ERRNO_DISABLED; @@ -115,7 +115,7 @@ ErrorCode RadioLibInterface::send(MeshPacket *p) #else - if (disabled || radioConfig.preferences.is_lora_tx_disabled) { + if (disabled || config.lora.tx_disabled) { DEBUG_MSG("send - lora_tx_disabled\n"); packetPool.release(p); return ERRNO_DISABLED;