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:
parent
a062a9c4e3
commit
3022548342
1 changed files with 7 additions and 0 deletions
|
@ -857,6 +857,13 @@ firmware_flasher.initialize = function (callback) {
|
||||||
});
|
});
|
||||||
|
|
||||||
async function enforceOSDSelection() {
|
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() === "") {
|
if ($('select[name="osdProtocols"] option:selected').val() === "") {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
GUI.showYesNoDialog({
|
GUI.showYesNoDialog({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue