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

19 Commits

Author SHA1 Message Date
Marian Buschsieweke
3c287c058d
sys/phydat: Fix unit confusion
Previously, `UNIT_G` was used for g-force with the correct symbol `g`,
`UNIT_GR` for gram (as in kilogram) with the incorrect symbol `G` (which
would be correct for Gauss), and `UNIT_GS` for Gauss with symbol `Gs`
(which is an uncommon but correct symbol).

To avoid confusion between G-Force, Gauss, and Gram the units have been
renamed to `UNIT_G_FORCE`, `UNIT_GRAM`, and `UNIT_GAUSS`. In addition,
gram now uses the correct symbol `g` and Gauss uses `G`.
2023-02-23 16:44:24 +01:00
Karl Fessel
05f114d0af doc: fix unbalaced grouping
- most were trivial
    - missing group close or open
    - extra space
    - no doxygen comment
- name commad might open an implicit group
    this hould also be implicit cosed but does not happen somtimes
- crazy: internal declared groups have to be closed internal
2022-09-14 15:05:25 +02:00
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
b4267fbd5e
drivers: make use of new driver_with_saul.mk where applicable 2022-01-06 12:07:07 +01:00
c5e28d4ef3
drivers/lis3mdl: fix timer dep + migrate app to ztimer 2021-12-12 10:45:09 +01:00
Francisco Molina
69ac014664 drivers/*: add HAVE* 2021-12-08 13:25:26 +01:00
Leandro Lanzieri
c58f64a23b
drivers/lis3mdl: add module to Kconfig 2021-01-18 10:42:31 +01:00
Bas Stottelaar
92b1dfc703 drivers/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
304bce3724
drivers: configure per driver dependency resolution 2020-07-20 14:32:16 +02:00
490126cfa0
drivers: move USEMODULE_INCLUDES in each driver directories 2020-07-15 20:36:27 +02:00
Francois Berder
4a31f94cfc many typo fixes
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
a82f4e1778 drivers/lis3mdl: adapt to new i2c API 2018-07-25 12:01:39 +02:00
Martine Lenders
e986562631 lis3mdl: fix default params
In the default config .odr and .scale where switched around.
2018-07-19 19:14:08 +02:00
7727871923 sys/auto_init/saul: provide saul adaption to lis3mdl 2017-12-14 18:18:34 +01:00
b39a3d79ef drivers/lis3mdl: update to new parameters scheme 2017-12-14 18:18:20 +01:00
94c753c07a drivers: doxygen cleanup 2017-09-01 15:12:20 +02:00
317716419c drivers: use const device descriptor 2017-06-21 17:05:45 +02:00
Kees Bakker
bac5cda1e3 periph/i2c: convert char to uint8_t where applicapable
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.

Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
Rene Herthel
44ee645373 drivers/lis3mdl: Initial create of lis3mdl 2016-03-29 21:02:18 +02:00