Skip to content
Snippets Groups Projects
Commit afeb5c1e authored by Leandro Lanzieri's avatar Leandro Lanzieri
Browse files

sys/phydat: Add capacitance unit (F)

parent 85e75cf9
No related branches found
No related tags found
No related merge requests found
......@@ -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 "";
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment