mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-14 11:59:51 +03:00
support for mag_declination and UI polish
This commit is contained in:
parent
8c98bff682
commit
edbf03aa3f
4 changed files with 70 additions and 25 deletions
|
@ -350,7 +350,7 @@ function process_data(command, message_buffer, message_length_expected) {
|
|||
MISC.failsafe_throttle = data.getUint16(8, 1); // 1000-2000
|
||||
MISC.plog0 = data.getUint16(10, 1);
|
||||
MISC.plog1 = data.getUint32(12, 1);
|
||||
MISC.mag_declination = data.getInt16(16, 1);
|
||||
MISC.mag_declination = data.getInt16(16, 1); // -18000-18000
|
||||
MISC.vbatscale = data.getUint8(18, 1); // 10-200
|
||||
MISC.vbatmincellvoltage = data.getUint8(19, 1) / 10; // 10-50
|
||||
MISC.vbatmaxcellvoltage = data.getUint8(20, 1) / 10; // 10-50
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue