lis3mdl: fix default params
In the default config .odr and .scale where switched around.
This commit is contained in:
parent
0d3af49278
commit
e986562631
@ -58,8 +58,8 @@ extern "C" {
|
|||||||
.addr = LIS3MDL_PARAM_ADDR, \
|
.addr = LIS3MDL_PARAM_ADDR, \
|
||||||
.xy_mode = LIS3MDL_PARAM_XYMODE, \
|
.xy_mode = LIS3MDL_PARAM_XYMODE, \
|
||||||
.z_mode = LIS3MDL_PARAM_ZMODE, \
|
.z_mode = LIS3MDL_PARAM_ZMODE, \
|
||||||
.odr = LIS3MDL_PARAM_SCALE, \
|
.odr = LIS3MDL_PARAM_ODR, \
|
||||||
.scale = LIS3MDL_PARAM_ODR, \
|
.scale = LIS3MDL_PARAM_SCALE, \
|
||||||
.op_mode = LIS3MDL_PARAM_OPMODE }
|
.op_mode = LIS3MDL_PARAM_OPMODE }
|
||||||
#endif
|
#endif
|
||||||
#ifndef LIS3MDL_SAUL_INFO
|
#ifndef LIS3MDL_SAUL_INFO
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user