From 4f4ea47140efeea3bdcde0408be45cf2a5513365 Mon Sep 17 00:00:00 2001 From: Julius Jurgelenas Date: Thu, 17 Sep 2026 08:08:05 +0300 Subject: [PATCH 1/2] Raise the Bind tool's UID read retries to 12 The module reboots after a phrase write, and 6 attempts (3 s) ran out before it came back, leaving "No response" on screen. 12 attempts give it 6 s. --- src/SCRIPTS/TOOLS/ExpressLRSBind/main.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SCRIPTS/TOOLS/ExpressLRSBind/main.lua b/src/SCRIPTS/TOOLS/ExpressLRSBind/main.lua index 8c5f806..bc3b7cd 100644 --- a/src/SCRIPTS/TOOLS/ExpressLRSBind/main.lua +++ b/src/SCRIPTS/TOOLS/ExpressLRSBind/main.lua @@ -33,7 +33,9 @@ local versionOk = loader("/SCRIPTS/ELRS/edgetx_version.lua")() -- Scheduler constants (getTime() ticks of 10 ms) local UID_RETRY_TICKS = 50 -- resend an unanswered UID read after 500 ms -local UID_MAX_ATTEMPTS = 6 -- then give up: the device has no MSP config support +-- 6 s of retries: outlasts the module reboot after a phrase write. Past +-- that, give up: the device has no MSP config support. +local UID_MAX_ATTEMPTS = 12 local FOLLOWUP_TICKS = 100 -- settle time before a follow-up after a write local App = { From 02187f9d92cdbed1d683e64bfd21083210b468d2 Mon Sep 17 00:00:00 2001 From: Julius Jurgelenas Date: Thu, 17 Sep 2026 18:28:20 +0300 Subject: [PATCH 2/2] update UID_MAX_ATTEMPTS comment --- src/SCRIPTS/TOOLS/ExpressLRSBind/main.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/SCRIPTS/TOOLS/ExpressLRSBind/main.lua b/src/SCRIPTS/TOOLS/ExpressLRSBind/main.lua index bc3b7cd..4707443 100644 --- a/src/SCRIPTS/TOOLS/ExpressLRSBind/main.lua +++ b/src/SCRIPTS/TOOLS/ExpressLRSBind/main.lua @@ -33,9 +33,7 @@ local versionOk = loader("/SCRIPTS/ELRS/edgetx_version.lua")() -- Scheduler constants (getTime() ticks of 10 ms) local UID_RETRY_TICKS = 50 -- resend an unanswered UID read after 500 ms --- 6 s of retries: outlasts the module reboot after a phrase write. Past --- that, give up: the device has no MSP config support. -local UID_MAX_ATTEMPTS = 12 +local UID_MAX_ATTEMPTS = 12 -- 6s of retries while module reboots local FOLLOWUP_TICKS = 100 -- settle time before a follow-up after a write local App = {