forked from Archive/PX4-Autopilot
TECS: remove unused TECS_MODE_CLIMBOUT
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
parent
2b73b6df70
commit
527225357b
|
@ -32,4 +32,3 @@ uint8 TECS_MODE_TAKEOFF = 2
|
|||
uint8 TECS_MODE_LAND = 3
|
||||
uint8 TECS_MODE_LAND_THROTTLELIM = 4
|
||||
uint8 TECS_MODE_BAD_DESCENT = 5
|
||||
uint8 TECS_MODE_CLIMBOUT = 6
|
||||
|
|
|
@ -544,8 +544,7 @@ public:
|
|||
enum ECL_TECS_MODE {
|
||||
ECL_TECS_MODE_NORMAL = 0,
|
||||
ECL_TECS_MODE_UNDERSPEED,
|
||||
ECL_TECS_MODE_BAD_DESCENT,
|
||||
ECL_TECS_MODE_CLIMBOUT
|
||||
ECL_TECS_MODE_BAD_DESCENT
|
||||
};
|
||||
|
||||
struct DebugOutput {
|
||||
|
|
|
@ -477,10 +477,6 @@ FixedwingPositionControl::tecs_status_publish(float alt_sp, float equivalent_air
|
|||
case TECS::ECL_TECS_MODE_BAD_DESCENT:
|
||||
t.mode = tecs_status_s::TECS_MODE_BAD_DESCENT;
|
||||
break;
|
||||
|
||||
case TECS::ECL_TECS_MODE_CLIMBOUT:
|
||||
t.mode = tecs_status_s::TECS_MODE_CLIMBOUT;
|
||||
break;
|
||||
}
|
||||
|
||||
t.altitude_sp = alt_sp;
|
||||
|
|
Loading…
Reference in New Issue