You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You've targeted the master branch with this PR. Please consider if a version branch might be more appropriate:
maintenance-9.x - If your change is backward-compatible and won't create compatibility issues between INAV firmware and Configurator 9.x versions. This will allow your PR to be included in the next 9.x release.
maintenance-10.x - If your change introduces compatibility requirements between firmware and configurator that would break 9.x compatibility. This is for PRs which will be included in INAV 10.x
If master is the correct target for this change, no action is needed.
This is an automated suggestion to help route contributions to the appropriate branch.
error414
changed the title
Error414/fix/terra ranger evo
Fix driver ranger finder terra ranger EVO
Feb 3, 2026
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
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.
User description
Fix driver for terra ranger EVo rangerfinder.
See: #11310
PR Type
Bug fix, New Target
Description
Fix TeraRanger Evo rangefinder driver with improved I2C communication
Add CRSF frame length validation for MSP requests
Add CoreWingF405WingV2 flight controller target
Improve PG version check script for struct definitions in separate headers
Diagram Walkthrough
File Walkthrough
rangefinder_teraranger_evo.c
Refactor TeraRanger Evo driver with improved I2C handlingsrc/main/drivers/rangefinder/rangefinder_teraranger_evo.c
teraRangerEvoforencapsulation
checkCrc()functionteraRangerInit()to usebusWrite()instead ofbusWriteBuf()teraRangerUpdate()with early returns for errorconditions
crsf.c
Add CRSF frame length validation for MSP framessrc/main/rx/crsf.c
frames
frameLength >= 4to prevent buffer overflowcrsfFrameDone = falsefor invalid frame lengthstarget.h
Add CoreWingF405WingV2 target hardware definitionssrc/main/target/COREWINGF405WINGV2/target.h
CW4W2and product stringsensors
target.c
Add CoreWingF405WingV2 timer and sensor configurationsrc/main/target/COREWINGF405WINGV2/target.c
config.c
Add CoreWingF405WingV2 serial and feature configurationsrc/main/target/COREWINGF405WINGV2/config.c
targetConfiguration()function
CMakeLists.txt
Add CoreWingF405WingV2 CMake build configurationsrc/main/target/COREWINGF405WINGV2/CMakeLists.txt
check-pg-versions.sh
Improve PG version check for separate header files.github/scripts/check-pg-versions.sh
diff
current file
headers
different files
recommendations