GPS organize status print

This commit is contained in:
Daniel Agar 2018-07-15 13:39:40 -04:00 committed by Lorenz Meier
parent ff626a19f6
commit 94dd6abd9f

View File

@ -876,8 +876,6 @@ GPS::print_status()
PX4_INFO("sat info: %s", (_p_report_sat_info != nullptr) ? "enabled" : "disabled");
if (_report_gps_pos.timestamp != 0) {
print_message(_report_gps_pos);
if (_helper) {
PX4_INFO("rate position: \t\t%6.2f Hz", (double)_helper->getPositionUpdateRate());
PX4_INFO("rate velocity: \t\t%6.2f Hz", (double)_helper->getVelocityUpdateRate());
@ -888,6 +886,7 @@ GPS::print_status()
PX4_INFO("rate RTCM injection:\t%6.2f Hz", (double)_rate_rtcm_injection);
}
print_message(_report_gps_pos);
}
if (_instance == Instance::Main && _secondary_instance) {