mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 06:15:13 +03:00
Fixed length check.
This commit is contained in:
parent
e2d40d7830
commit
303c55d1dd
1 changed files with 2 additions and 2 deletions
|
@ -595,8 +595,8 @@ TABS.osd.initialize = function (callback) {
|
|||
MSP.promise(MSPCodes.MSP_OSD_CONFIG)
|
||||
.then(function(info) {
|
||||
OSD.chooseFields();
|
||||
// fc responsed with only 1 field: osd unsupported
|
||||
if (info.length == 1) {
|
||||
// fc responsed with short message: osd unsupported
|
||||
if (info.length < 4) {
|
||||
$('.unsupported').fadeIn();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue