Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix network device select issue #228

Merged

Conversation

justinlampley
Copy link
Collaborator

Current logic for matching a network device to a particular target uses startsWith, however this does not work when we have multiple devices that start with the same characters like MATEK_2400_RX and MATEK_2400_RX_PWM. Change the matching logic to split the target name at "via" and check for an exact match.

@jurgelenas jurgelenas merged commit c499c49 into ExpressLRS:master Jan 22, 2022
@justinlampley justinlampley deleted the FixNetworkDeviceSelectIssue branch March 23, 2022 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants