Skip to content

Commit

Permalink
Fix autodetect for some older 4.5 firmware builds (#4103)
Browse files Browse the repository at this point in the history
Fix autodetect for older 4.5 firmware builds
  • Loading branch information
haslinghuis authored Jul 24, 2024
1 parent d0ca133 commit 85ceabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/utils/AutoDetect.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class AutoDetect {
const buildDate = new Date(FC.CONFIG.buildInfo);

if (TABS.firmware_flasher.validateBuildKey() && (semver.lt(FC.CONFIG.apiVersion, API_VERSION_1_46) || buildDate < supportedDate)) {
return TABS.firmware_flasher.buildApi.requestBuildOptions(TABS.firmware_flasher.cloudBuildKey, this.getCloudBuildOptions, this.getBoardInfo);
return TABS.firmware_flasher.buildApi.requestBuildOptions(TABS.firmware_flasher.cloudBuildKey, this.getCloudBuildOptions.bind(this), this.getBoardInfo.bind(this));
}
}

Expand Down

0 comments on commit 85ceabf

Please sign in to comment.