mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 19:53:34 +08:00
set the range to the correct value
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user