1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/phydat
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
..
Kconfig sys/phydat: add module to Kconfig 2020-11-25 12:00:13 +01:00
Makefile sys: added module for handling physical data 2015-11-30 20:33:53 +01:00
phydat_json.c sys/phydat: fix phydat_to_json dim precondition 2022-05-19 07:29:51 +02:00
phydat_str.c sys/phydat: Fix unit confusion 2023-02-23 16:44:24 +01:00
phydat_unix.c sys/phydat: add functions for Unix time conversion to phydat 2023-01-21 11:01:42 +01:00
phydat.c sys/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00