mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
bmi160: remove debug output
This commit is contained in:
@@ -637,12 +637,10 @@ BMI160::ioctl(struct file *filp, int cmd, unsigned long arg)
|
||||
case SENSOR_POLLRATE_DEFAULT:
|
||||
if (BMI160_GYRO_DEFAULT_RATE > BMI160_ACCEL_DEFAULT_RATE) {
|
||||
return ioctl(filp, SENSORIOCSPOLLRATE, BMI160_GYRO_DEFAULT_RATE);
|
||||
warnx("GYROOOOOOOOO");
|
||||
|
||||
} else {
|
||||
return ioctl(filp, SENSORIOCSPOLLRATE,
|
||||
BMI160_ACCEL_DEFAULT_RATE); //Polling at the highest frequency. We may get duplicate values on the sensors
|
||||
warnx("ACCELLLLLLLLLLLL");
|
||||
}
|
||||
|
||||
/* adjust to a legal polling interval in Hz */
|
||||
|
||||
Reference in New Issue
Block a user