ManualControlSelector: don't invalidate existing setpoint with other invalid input

This commit is contained in:
Matthias Grob
2021-10-06 18:37:52 +02:00
parent e15f6b27f2
commit 1bd786c71a
@@ -51,8 +51,6 @@ void ManualControlSelector::update_manual_control_input(uint64_t now, const manu
// where the timestamp_sample of some source is already outdated.
if (now >= input.timestamp_sample && now - input.timestamp_sample > _timeout) {
_setpoint.valid = false;
_instance = -1;
return;
}