mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 22:32:11 +08:00
fix(mavlink): GPS jamming only warning
This commit is contained in:
@@ -635,10 +635,10 @@ void EstimatorChecks::checkGps(const Context &context, Report &reporter, const s
|
||||
*/
|
||||
reporter.armingCheckFailure(NavModes::None, health_component_t::gps,
|
||||
events::ID("check_estimator_gps_jamming_critical"),
|
||||
events::Log::Critical, "GPS jamming detected");
|
||||
events::Log::Warning, "GPS jamming detected");
|
||||
|
||||
if (reporter.mavlink_log_pub()) {
|
||||
mavlink_log_critical(reporter.mavlink_log_pub(), "GPS jamming detected\t");
|
||||
mavlink_log_warning(reporter.mavlink_log_pub(), "GPS jamming detected\t");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user