Skip to content

Commit

Permalink
Fix connection for patch release versions (#3908)
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis authored Apr 24, 2024
1 parent fe3fdb1 commit befa88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/serial_backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ function checkReportProblems() {
let problems = [];
let abort = false;

if (semver.gt(FC.CONFIG.apiVersion, CONFIGURATOR.API_VERSION_MAX_SUPPORTED)) {
if (semver.minor(FC.CONFIG.apiVersion) > semver.minor(CONFIGURATOR.API_VERSION_MAX_SUPPORTED)) {
const problemName = 'API_VERSION_MAX_SUPPORTED';
problems.push({ name: problemName, description: i18n.getMessage(`reportProblemsDialog${problemName}`,
[CONFIGURATOR.latestVersion, CONFIGURATOR.latestVersionReleaseUrl, CONFIGURATOR.getDisplayVersion(), FC.CONFIG.flightControllerVersion])});
Expand Down

0 comments on commit befa88b

Please sign in to comment.