Unverified Commit cc579ce2 authored by Samuel Tabor's avatar Samuel Tabor Committed by GitHub

ArduPlaneFirmwarePlugin: Add THERMAL mode. (#9089)

parent 9c1e595e
...@@ -39,6 +39,7 @@ APMPlaneMode::APMPlaneMode(uint32_t mode, bool settable) ...@@ -39,6 +39,7 @@ APMPlaneMode::APMPlaneMode(uint32_t mode, bool settable)
{ QRTL, "QuadPlane RTL" }, { QRTL, "QuadPlane RTL" },
{ QAUTOTUNE, "QuadPlane AutoTune" }, { QAUTOTUNE, "QuadPlane AutoTune" },
{ QACRO, "QuadPlane Acro" }, { QACRO, "QuadPlane Acro" },
{ THERMAL, "Thermal"},
}); });
} }
...@@ -68,6 +69,7 @@ ArduPlaneFirmwarePlugin::ArduPlaneFirmwarePlugin(void) ...@@ -68,6 +69,7 @@ ArduPlaneFirmwarePlugin::ArduPlaneFirmwarePlugin(void)
APMPlaneMode(APMPlaneMode::QRTL, true), APMPlaneMode(APMPlaneMode::QRTL, true),
APMPlaneMode(APMPlaneMode::QAUTOTUNE, true), APMPlaneMode(APMPlaneMode::QAUTOTUNE, true),
APMPlaneMode(APMPlaneMode::QACRO, true), APMPlaneMode(APMPlaneMode::QACRO, true),
APMPlaneMode(APMPlaneMode::THERMAL, true),
}); });
if (!_remapParamNameIntialized) { if (!_remapParamNameIntialized) {
......
...@@ -44,6 +44,7 @@ public: ...@@ -44,6 +44,7 @@ public:
QRTL = 21, QRTL = 21,
QAUTOTUNE = 22, QAUTOTUNE = 22,
QACRO = 23, QACRO = 23,
THERMAL = 24,
}; };
APMPlaneMode(uint32_t mode, bool settable); APMPlaneMode(uint32_t mode, bool settable);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment