Repository navigation
Gate ELRS modules below the 3.5.4 minimum - #34
Merged
Merged
Conversation
Modules older than 3.5.4 predate the spec-compliant folders of ExpressLRS#3123 that the parameter loader relies on; the tool sat on the loading screen forever (#11). DEVICE_INFO already carries the firmware version, so a TX below 3.5.4 latches session.unsupported, the same flag ELRS 1.x detection now sets. run() checks it before tick(), so nothing more is sent to a module the tool cannot browse. The alert just states the minimum. The CRSF mock reports 4.1.0; the new old_firmware scenario reports 3.4.2. Co-authored-by: Itay Sharoni <[email protected]>
CapnBry
approved these changes
Oct 1, 2026
CapnBry
left a comment
Member
There was a problem hiding this comment.
Beautiful, this is going to save so many questions about it not loading.
Tested with 4.1.0 Nomad and 3.4.2 Ranger on TX16S and Ranger / Internal Boxer on Boxer (after struggling for 5 minutes trying unsuccessfully to get the dang Nomad module into the bay 😅)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #11. Supersedes #22 (rebased on the current
unified-lua-lspwith the review addressed; original by @Itay-Sharoni).Modules older than 3.5.4 predate the spec-compliant folders of ExpressLRS/ExpressLRS#3123 that the parameter loader relies on, so the tool sat on the loading screen forever.
session.unsupported— the same flag ELRS 1.x detection now sets (detectV1/v1Detected→detectUnsupported/unsupported).run()checks the flag beforesession:tick(), so nothing more is sent to a module the tool cannot browse.old_firmwarescenario reports 3.4.2.Checked in the simulator:
old_firmwarenormalNot tested against a real 3.4.2 module.