mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 13:03:33 +08:00
ManualControlSelector: simplification refactoring
- clang tidy did't like {bool} == true in a condition
- setpoint_from_input() got small enough ot just put in line
This commit is contained in:
@@ -52,7 +52,6 @@ public:
|
||||
|
||||
private:
|
||||
bool isInputValid(const manual_control_input_s &input, uint64_t now) const;
|
||||
static manual_control_setpoint_s setpoint_from_input(const manual_control_input_s &input);
|
||||
|
||||
manual_control_setpoint_s _setpoint{};
|
||||
uint64_t _timeout{0};
|
||||
|
||||
Reference in New Issue
Block a user