TECS: remove unused TECS_MODE_CLIMBOUT

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer 2023-02-27 17:55:07 +01:00
parent 2b73b6df70
commit 527225357b
3 changed files with 1 additions and 7 deletions

View File

@ -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

View File

@ -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 {

View File

@ -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;