mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
Fixed non working quad-status-wrapper
This commit is contained in:
parent
0f8a2911d9
commit
770098119e
1 changed files with 6 additions and 6 deletions
|
@ -682,14 +682,14 @@ function update_live_status() {
|
|||
$(".armedicon").removeClass('active');
|
||||
}
|
||||
}
|
||||
}
|
||||
if (FC.AUX_CONFIG[index] === 'FAILSAFE') {
|
||||
if (FC.AUX_CONFIG[i] === 'FAILSAFE') {
|
||||
if (bit_check(FC.CONFIG.mode, i)) {
|
||||
$(".failsafeicon").addClass('active');
|
||||
} else {
|
||||
$(".failsafeicon").removeClass('active');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (FC.ANALOG != undefined) {
|
||||
let nbCells = Math.floor(FC.ANALOG.voltage / FC.BATTERY_CONFIG.vbatmaxcellvoltage) + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue