mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/phydat: Added unit Coulomb
This commit is contained in:
parent
d180339e5a
commit
cc0e6dc779
@ -95,6 +95,7 @@ enum {
|
||||
UNIT_V, /**< Volts */
|
||||
UNIT_GS, /**< gauss */
|
||||
UNIT_DBM, /**< decibel-milliwatts */
|
||||
UNIT_COULOMB, /**< coulomb */
|
||||
/* pressure */
|
||||
UNIT_BAR, /**< Beer? */
|
||||
UNIT_PA, /**< Pascal */
|
||||
|
@ -101,6 +101,7 @@ const char *phydat_unit_to_str(uint8_t unit)
|
||||
case UNIT_CD: return "cd";
|
||||
case UNIT_PERCENT: return "%";
|
||||
case UNIT_CTS: return "cts";
|
||||
case UNIT_COULOMB: return "C";
|
||||
default: return "";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user