mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 23:11:37 +08:00
Add required rotation option to driver startup command and fix a couple of details in warnings/comments
This commit is contained in:
committed by
Lorenz Meier
parent
b797657694
commit
2dac97fe68
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user