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
Marian Buschsieweke
16f859dafd
drivers/saul: use const qualifier for data to write
This makes life easier when calling e.g. `saul_reg_write()` with data
stored in flash.

As now the signatures for reading and writing differ (in that `const`
qualifier only), `saul_notsup()` is split into `saul_write_notsup()`
and `saul_read_notsup()`. However, one is implemented as a symbol alias
of the other, so that ROM consumption remains unchanged.
2022-05-23 08:35:27 +02:00
Kees Bakker
cf560eaca7 drivers/mma8x5x: correct cast of phydat_t*
The read functions have a mma8x5x_data_t* argument which is a
struct with 3 int16_t members. Thus we should cast res->val instead of
just res.
2019-01-06 18:11:46 +01:00
a08e9919a9 drivers: fix doxygen grouping 2018-06-11 19:10:40 +02:00
smlng
946256d26f saul: use const for device parameter 2017-06-26 20:25:37 +02:00
Hauke Petersen
cf507c4f07 drivers/mma8x5x: remodeld driver
- renambed to mma8x5x to reflect the versatility
- cleaned up the interface
- fixed value computation for non 12-bit devices of the family
- added default configuration with mma8x5x_params.h
2017-01-18 10:51:15 +01:00