Skip to content
Snippets Groups Projects
Commit 79678c5f authored by Lorenz Meier's avatar Lorenz Meier
Browse files

MPU6K fix code style

parent 7f04e3c7
No related branches found
No related tags found
No related merge requests found
......@@ -1412,9 +1412,11 @@ MPU6000::ioctl(struct file *filp, int cmd, unsigned long arg)
case ACCELIOCSLOWPASS:
// set hardware filtering
_set_dlpf_filter(arg);
if (is_icm_device()) {
_set_icm_acc_dlpf_filter(arg);
}
// set software filtering
_accel_filter_x.set_cutoff_frequency(1.0e6f / _call_interval, arg);
_accel_filter_y.set_cutoff_frequency(1.0e6f / _call_interval, arg);
......
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