mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
fix(mavlink): GPS jamming only warning
This commit is contained in:
parent
7584f7567f
commit
c2c811072e
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user