Skip to content

Commit

Permalink
commander: preflight check don't read mag device_id
Browse files Browse the repository at this point in the history
  • Loading branch information
dagar committed Nov 12, 2020
1 parent cabd422 commit 09d8731
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ bool PreFlightCheck::magnetometerCheck(orb_advert_t *mavlink_log_pub, vehicle_st

if (!calibration_valid) {
if (report_fail) {
mavlink_log_critical(mavlink_log_pub, "Preflight Fail: Compass #%u %u uncalibrated", instance, device_id);
mavlink_log_critical(mavlink_log_pub, "Preflight Fail: Compass #%u uncalibrated", instance);
}
}

Expand Down

0 comments on commit 09d8731

Please sign in to comment.