mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 11:59:17 +08:00
commander: failsafe framework fix missing return in actionStr function (#21245)
- there needs to be a default statement for the compiler to work when this function is called.
This commit is contained in:
@@ -112,7 +112,8 @@ public:
|
|||||||
|
|
||||||
case Action::Terminate: return "Terminate";
|
case Action::Terminate: return "Terminate";
|
||||||
|
|
||||||
case Action::Count: return "(invalid)";
|
case Action::Count:
|
||||||
|
default: return "(invalid)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user