mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/phydat: add ohm as unit
This commit is contained in:
parent
2338944a1c
commit
558322bc6f
@ -99,6 +99,7 @@ enum {
|
||||
UNIT_DBM, /**< decibel-milliwatts */
|
||||
UNIT_COULOMB, /**< coulomb */
|
||||
UNIT_F, /**< Farad */
|
||||
UNIT_OHM, /**< Ohm */
|
||||
/* electrochemical */
|
||||
UNIT_PH, /**< pH */
|
||||
/* pressure */
|
||||
|
@ -127,6 +127,7 @@ const char *phydat_unit_to_str(uint8_t unit)
|
||||
case UNIT_F: return "F";
|
||||
case UNIT_PH: return "pH";
|
||||
case UNIT_CPM3: return "#/m^3";
|
||||
case UNIT_OHM: return "ohm";
|
||||
|
||||
default: return "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user