set the range to the correct value

This commit is contained in:
Jake Dahl
2018-05-16 08:35:55 +02:00
committed by Lorenz Meier
parent 306d1e7e24
commit ad4b3a738a
@@ -278,6 +278,7 @@ LIS3MDL::calibrate(struct file *file_pointer, unsigned enable)
out:
/* set back to normal mode */
set_range(4);
set_default_register_values();
usleep(20000);