rc_update: further tighten timing requirements for valid data

- any real RC data input will be much faster than 3 Hz, so this is an
easy way to minimize bogus decoded data from propagating
This commit is contained in:
Daniel Agar
2022-04-07 14:42:05 -04:00
parent 98623f69a3
commit 77a37c26bf
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -92,6 +92,8 @@ public:
private:
static constexpr uint64_t VALID_DATA_MIN_INTERVAL_US{1_s / 3}; // assume valid RC input is at least 3 Hz
void Run() override;
/**