fix multicopter land detector: do not update parameters every cycle (#13212)

And add updateParams() call in LandDetector::_update_params().
This commit is contained in:
Mark Sauder
2019-10-18 09:25:41 +02:00
committed by Beat Küng
parent cefa7ec5dc
commit e9c9fb8239
4 changed files with 20 additions and 20 deletions
@@ -62,7 +62,7 @@ public:
MulticopterLandDetector();
protected:
void _update_params(const bool force = false) override;
void _update_params() override;
void _update_topics() override;
bool _get_landed_state() override;