mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-11 07:32:14 +00:00
Update from radioConfig.preferences to config.lora
This commit is contained in:
parent
c64f4bbb11
commit
2631a9324e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user