mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 04:53:33 +08:00
LandDetector: remove param_notify_changes()
not needed anymore because of autosave
This commit is contained in:
@@ -152,7 +152,6 @@ void LandDetector::_cycle()
|
|||||||
param_set_no_notification(_p_total_flight_time_high, &flight_time);
|
param_set_no_notification(_p_total_flight_time_high, &flight_time);
|
||||||
flight_time = _total_flight_time & 0xffffffff;
|
flight_time = _total_flight_time & 0xffffffff;
|
||||||
param_set_no_notification(_p_total_flight_time_low, &flight_time);
|
param_set_no_notification(_p_total_flight_time_low, &flight_time);
|
||||||
param_notify_changes(); // this will notify the commander, who will save the params
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_landDetected.timestamp = hrt_absolute_time();
|
_landDetected.timestamp = hrt_absolute_time();
|
||||||
|
|||||||
Reference in New Issue
Block a user