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:
Matthias Grob
2021-11-09 16:05:25 +01:00
parent cc2ec09659
commit 48ed350b25
2 changed files with 3 additions and 11 deletions
@@ -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};