mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 00:35:20 +03:00
Fix bug in MSP_ACTIVEBOXES decoding
In JS `(1<<32) == 1` so it was causing an issue when the FC was advertising more than 32 mode boxes
This commit is contained in:
parent
83bd7ac67f
commit
1b453762a1
6 changed files with 37 additions and 37 deletions
|
@ -285,7 +285,7 @@ TABS.auxiliary.initialize = function (callback) {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (bit_check(CONFIG.mode, i)) {
|
||||
if (FC.isModeBitSet(i)) {
|
||||
$('.mode .name').eq(i).data('modeElement').addClass('on').removeClass('off');
|
||||
} else {
|
||||
$('.mode .name').eq(i).data('modeElement').removeClass('on').addClass('off');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue