mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-25 05:53:34 +08:00
Add check_params(true) call to the LandDetector start() method. Break out _update_total_flight_time() method in the LandDetector class.
This commit is contained in:
@@ -163,6 +163,8 @@ private:
|
||||
|
||||
void _update_state();
|
||||
|
||||
void _update_total_flight_time();
|
||||
|
||||
bool _previous_armed_state{false}; ///< stores the previous actuator_armed.armed state
|
||||
|
||||
uint64_t _total_flight_time{0}; ///< in microseconds
|
||||
|
||||
Reference in New Issue
Block a user