Skip to content
Snippets Groups Projects
Commit 2b518278 authored by Lorenz Meier's avatar Lorenz Meier Committed by Lorenz Meier
Browse files

HMC5883: Silence chatty boot

parent d1a2f522
No related branches found
No related tags found
No related merge requests found
......@@ -1281,8 +1281,12 @@ int HMC5883::check_calibration()
bool scale_valid = (check_scale() == OK);
if (_calibrated != (offset_valid && scale_valid)) {
warnx("mag cal status changed %s%s", (scale_valid) ? "" : "scale invalid ",
(offset_valid) ? "" : "offset invalid");
// too verbose for normal operation
if (!offset_valid || !scale_valid) {
warnx("mag cal status changed %s%s", (scale_valid) ? "" : "scale invalid ",
(offset_valid) ? "" : "offset invalid");
}
_calibrated = (offset_valid && scale_valid);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment