control_allocator: do not update params while armed

As a precaution
This commit is contained in:
Beat Küng
2021-12-03 11:55:50 +01:00
committed by Daniel Agar
parent e04b4a8dbf
commit 4f8e6a9548
2 changed files with 4 additions and 1 deletions
@@ -173,6 +173,7 @@ private:
perf_counter_t _loop_perf; /**< loop duration performance counter */
bool _armed{false};
hrt_abstime _last_run{0};
hrt_abstime _timestamp_sample{0};
hrt_abstime _last_status_pub{0};