1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-28 23:29:45 +01:00
RIOT/drivers/lis2dh12
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
..
include drivers/lis2dh12: add support for temperature sensor 2021-06-03 12:59:50 +02:00
Kconfig drivers/lis2dh12: Update kconfig model 2022-03-04 14:15:45 +01:00
lis2dh12_internal.h drivers/lis2dh12: functionality extension 2021-03-04 00:43:04 +01:00
lis2dh12_saul.c sys/phydat: Fix unit confusion 2023-02-23 16:44:24 +01:00
lis2dh12.c drivers/lis2dh12: release instead of acquire 2022-07-21 15:51:01 +02:00
Makefile drivers: make use of new driver_with_saul.mk where applicable 2022-01-06 12:07:07 +01:00
Makefile.dep drivers/lis2dh12: explicit bus variant selection 2021-12-08 10:39:55 +01:00
Makefile.include drivers/lis2dh12: declare pseudomodules at driver level 2021-10-05 11:48:52 +02:00