Add required rotation option to driver startup command and fix a couple of details in warnings/comments

This commit is contained in:
Robert Dickenson
2016-04-22 10:30:19 +02:00
committed by Lorenz Meier
parent b797657694
commit 2dac97fe68
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -1102,7 +1102,7 @@ int HMC5883::calibrate(struct file *filp, unsigned enable)
/* start the sensor polling at 50 Hz */
if (OK != ioctl(filp, SENSORIOCSPOLLRATE, 50)) {
warn("FAILED: SENSORIOCSPOLLRATE 2Hz");
warn("FAILED: SENSORIOCSPOLLRATE 50Hz");
ret = 1;
goto out;
}