HMC5883: Remove output on driver level. Reporting should be done by the caller, not inside the driver.

This commit is contained in:
Lorenz Meier
2017-01-04 09:40:50 +01:00
parent 6b0a6fb38f
commit 256222d44d
-6
View File
@@ -1291,12 +1291,6 @@ int HMC5883::check_calibration()
bool scale_valid = (check_scale() == OK);
if (_calibrated != (offset_valid && scale_valid)) {
// 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);
}