fix: Throttle idle trim handling for surface, enable MT12 tests (#4520)

Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
3djc
2024-01-21 13:53:25 +10:00
committed by GitHub
co-authored by 3djc raphaelcoeffic
parent 4c2ea7a60a
commit dfaad73070
36 changed files with 596 additions and 1328 deletions
-15
View File
@@ -368,11 +368,6 @@ struct LuaSingleField {
};
const LuaSingleField luaSingleFields[] = {
{MIXSRC_FIRST_STICK, "rud", "Rudder"},
{MIXSRC_FIRST_STICK + 1, "ele", "Elevator"},
{MIXSRC_FIRST_STICK + 2, "thr", "Throttle"},
{MIXSRC_FIRST_STICK + 3, "ail", "Aileron"},
#if defined(IMU)
{MIXSRC_TILT_X, "tiltx", "Tilt X"},
{MIXSRC_TILT_Y, "tilty", "Tilt Y"},
@@ -390,16 +385,6 @@ const LuaSingleField luaSingleFields[] = {
{MIXSRC_MAX, "min", "MIN"},
{MIXSRC_MAX, "max", "MAX"},
{MIXSRC_TrimRud, "trim-rud", "Rudder trim"},
{MIXSRC_TrimEle, "trim-ele", "Elevator trim"},
{MIXSRC_TrimThr, "trim-thr", "Throttle trim"},
{MIXSRC_TrimAil, "trim-ail", "Aileron trim"},
#if MAX_TRIMS > 4
{MIXSRC_TrimT5, "trim-t5", "Aux trim T5"},
{MIXSRC_TrimT6, "trim-t6", "Aux trim T6"},
#endif
{MIXSRC_TX_VOLTAGE, "tx-voltage", "Transmitter battery voltage [volts]"},
{MIXSRC_TX_TIME, "clock", "RTC clock [minutes from midnight]"},
};