mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-14 03:49:53 +03:00
mixer_profile switch support
This commit is contained in:
parent
0bb8c1521b
commit
51c33d2bd9
9 changed files with 60 additions and 5 deletions
|
@ -79,6 +79,8 @@ var mspHelper = (function (gui) {
|
|||
profile_byte = data.getUint8(offset++)
|
||||
CONFIG.profile = profile_byte & 0x0F;
|
||||
CONFIG.battery_profile = (profile_byte & 0xF0) >> 4;
|
||||
profile_byte = data.getUint8(offset++)
|
||||
CONFIG.mixer_profile = profile_byte & 0x0F;
|
||||
CONFIG.armingFlags = data.getUint32(offset, true);
|
||||
offset += 4;
|
||||
gui.updateStatusBar();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue