Fixed non working quad-status-wrapper
parent
0f8a2911d9
commit
770098119e
|
@ -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…
Reference in New Issue