mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/phydat: Add capacitance unit (F)
This commit is contained in:
parent
85e75cf9f8
commit
afeb5c1e04
@ -96,6 +96,7 @@ enum {
|
||||
UNIT_GS, /**< gauss */
|
||||
UNIT_DBM, /**< decibel-milliwatts */
|
||||
UNIT_COULOMB, /**< coulomb */
|
||||
UNIT_F, /**< Farad */
|
||||
/* pressure */
|
||||
UNIT_BAR, /**< Beer? */
|
||||
UNIT_PA, /**< Pascal */
|
||||
|
@ -103,6 +103,7 @@ const char *phydat_unit_to_str(uint8_t unit)
|
||||
case UNIT_CTS: return "cts";
|
||||
case UNIT_COULOMB: return "C";
|
||||
case UNIT_GPM3: return "g/m^3";
|
||||
case UNIT_F: return "F";
|
||||
default: return "";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user