Add two new units.

Add degrees and henrys to the list of supported units. Degree is
an unit of plane angle where one degree is 1/360th of a full circle.
Henry is the SI unit of inductance.
This commit is contained in:
Janne Huttunen 2014-10-11 15:47:27 +03:00 committed by Uwe Hermann
parent 8b4f0d6a11
commit 01789adc72
1 changed files with 4 additions and 0 deletions

View File

@ -264,6 +264,10 @@ enum sr_unit {
SR_UNIT_HECTOPASCAL,
/** Relative humidity assuming air temperature of 293 kelvin (%rF). */
SR_UNIT_HUMIDITY_293K,
/** Plane angle in 1/360th of a full circle. */
SR_UNIT_DEGREE,
/** Henry (inductance). */
SR_UNIT_HENRY,
};
/** Values for sr_datafeed_analog.flags. */