Bring back RC throttle override with a parameter to disable it

This commit is contained in:
Julian Kent
2021-03-04 10:41:21 +01:00
committed by Matthias Grob
parent b7ff54b034
commit cdadfabccc
3 changed files with 13 additions and 8 deletions
+2 -2
View File
@@ -287,9 +287,9 @@ private:
};
enum OverrideMode {
OVERRIDE_DISABLED = 0,
OVERRIDE_AUTO_MODE_BIT = (1 << 0),
OVERRIDE_OFFBOARD_MODE_BIT = (1 << 1)
OVERRIDE_OFFBOARD_MODE_BIT = (1 << 1),
OVERRIDE_IGNORE_THROTTLE_BIT = (1 << 2)
};
/* Decouple update interval and hysteresis counters, all depends on intervals */