mavlink: remove _log_enabled flag

It's obsolete since we removed the mavlink log file
This commit is contained in:
Beat Küng
2017-06-04 04:35:21 +08:00
committed by Lorenz Meier
parent e2fa5c2857
commit a5485c97e0
3 changed files with 0 additions and 18 deletions
-9
View File
@@ -534,15 +534,6 @@ protected:
const bool updated_cpuload = _cpuload_sub->update(&cpuload);
const bool updated_battery = _battery_status_sub->update(&battery_status);
if (updated_status) {
if (status.arming_state >= vehicle_status_s::ARMING_STATE_ARMED) {
_mavlink->set_logging_enabled(true);
} else {
_mavlink->set_logging_enabled(false);
}
}
if (updated_status || updated_battery || updated_cpuload) {
mavlink_sys_status_t msg = {};