1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00

Merge pull request #2351 from Asizon/fix_quad_status_wrapper

This commit is contained in:
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

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');
}
}
}