From b11d29ff31428d8e8373bf9aae6f2e4fc452587f Mon Sep 17 00:00:00 2001 From: Tom <116762865+NomDeTom@users.noreply.github.com> Date: Thu, 7 May 2026 11:57:34 +0100 Subject: [PATCH] fix(mesh): update reconfigure methods to return true instead of RADIOLIB_ERR_NONE (#10407) --- src/mesh/LR11x0Interface.cpp | 2 +- src/mesh/RF95Interface.cpp | 2 +- src/mesh/SX126xInterface.cpp | 2 +- src/mesh/SX128xInterface.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesh/LR11x0Interface.cpp b/src/mesh/LR11x0Interface.cpp index 7a193f7f3..441cab833 100644 --- a/src/mesh/LR11x0Interface.cpp +++ b/src/mesh/LR11x0Interface.cpp @@ -198,7 +198,7 @@ template bool LR11x0Interface::reconfigure() startReceive(); // restart receiving - return RADIOLIB_ERR_NONE; + return true; } template void LR11x0Interface::disableInterrupt() diff --git a/src/mesh/RF95Interface.cpp b/src/mesh/RF95Interface.cpp index 32c92de93..43149ef8b 100644 --- a/src/mesh/RF95Interface.cpp +++ b/src/mesh/RF95Interface.cpp @@ -252,7 +252,7 @@ bool RF95Interface::reconfigure() startReceive(); // restart receiving - return RADIOLIB_ERR_NONE; + return true; } /** diff --git a/src/mesh/SX126xInterface.cpp b/src/mesh/SX126xInterface.cpp index 44c4a805a..3513bbba3 100644 --- a/src/mesh/SX126xInterface.cpp +++ b/src/mesh/SX126xInterface.cpp @@ -262,7 +262,7 @@ template bool SX126xInterface::reconfigure() startReceive(); // restart receiving - return RADIOLIB_ERR_NONE; + return true; } template void SX126xInterface::disableInterrupt() diff --git a/src/mesh/SX128xInterface.cpp b/src/mesh/SX128xInterface.cpp index cb21c0770..64d71921a 100644 --- a/src/mesh/SX128xInterface.cpp +++ b/src/mesh/SX128xInterface.cpp @@ -153,7 +153,7 @@ template bool SX128xInterface::reconfigure() startReceive(); // restart receiving - return RADIOLIB_ERR_NONE; + return true; } template void SX128xInterface::disableInterrupt()