Skip to content

Commit

Permalink
set the range to the correct value
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Dahl authored and LorenzMeier committed May 16, 2018
1 parent 306d1e7 commit ad4b3a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/drivers/magnetometer/lis3mdl/lis3mdl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ad4b3a7

Please sign in to comment.