1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

5 Commits

Author SHA1 Message Date
Kees Bakker
d0fc60a323 drivers/bmx055: do normal assignment instead of memcpy 2019-01-10 19:43:43 +01:00
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
smlng
41f4ac6dce drivers/bmx055: use i2c_acquire and _release
add missing i2c_acquire and i2c_release calls to properly guard
    i2c read and write operations.
2018-07-25 12:01:39 +02:00
smlng
b24bf4bcc8 drivers/bmx055: adapt to new i2c api 2018-07-25 12:01:39 +02:00
Semjon Kerner
83153d6925 drivers/bmx055: initial implementation 2018-02-19 14:27:39 +01:00