1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/drivers/bmx055
Kees Bakker 52102a7aa0 drivers/bmx055: eliminate some casts
First, every read function converts the void pointer into a const bmx055_t

Second, it is cleaner (more obvious) to pass phydat_t.val[3] instead of
type casting to int16_t* and relying that .val[3] is the first struct
member of phydat_t.
2019-01-08 22:03:20 +01:00
..
include drivers/bmx055: initial implementation 2018-02-19 14:27:39 +01:00
bmx055_internal.h drivers/bmx055: initial implementation 2018-02-19 14:27:39 +01:00
bmx055_saul.c drivers/bmx055: eliminate some casts 2019-01-08 22:03:20 +01:00
bmx055.c drivers/bmx055: use i2c_acquire and _release 2018-07-25 12:01:39 +02:00
Makefile drivers/bmx055: initial implementation 2018-02-19 14:27:39 +01:00