1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 00:35:26 +03:00

Do not use OSD selection for 4.3.x (#4437)

This commit is contained in:
Mark Haslinghuis 2025-04-26 11:55:53 +02:00 committed by GitHub
parent a062a9c4e3
commit 3022548342
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -857,6 +857,13 @@ firmware_flasher.initialize = function (callback) {
});
async function enforceOSDSelection() {
const firmwareVersion = $('select[name="firmware_version"] option:selected').text();
// Skip OSD selection enforcement for firmware versions 4.3.x
if (firmwareVersion.startsWith("4.3.")) {
return true;
}
if ($('select[name="osdProtocols"] option:selected').val() === "") {
return new Promise((resolve) => {
GUI.showYesNoDialog({