Skip to content

Commit

Permalink
Fix connection for patch release versions
Browse files Browse the repository at this point in the history
  • Loading branch information
haslinghuis committed Apr 24, 2024
1 parent 806f844 commit 4e511da
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 4e511da

Please sign in to comment.