Merge pull request #2351 from Asizon/fix_quad_status_wrapper

10.8-maintenance
Michael Keller 2020-12-26 02:49:36 +01:00 committed by GitHub
commit b5c85676e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -682,12 +682,12 @@ function update_live_status() {
$(".armedicon").removeClass('active');
}
}
}
if (FC.AUX_CONFIG[index] === 'FAILSAFE') {
if (bit_check(FC.CONFIG.mode, i)) {
$(".failsafeicon").addClass('active');
} else {
$(".failsafeicon").removeClass('active');
if (FC.AUX_CONFIG[i] === 'FAILSAFE') {
if (bit_check(FC.CONFIG.mode, i)) {
$(".failsafeicon").addClass('active');
} else {
$(".failsafeicon").removeClass('active');
}
}
}