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:
parent
8b4f0d6a11
commit
01789adc72
|
@ -264,6 +264,10 @@ enum sr_unit {
|
||||||
SR_UNIT_HECTOPASCAL,
|
SR_UNIT_HECTOPASCAL,
|
||||||
/** Relative humidity assuming air temperature of 293 kelvin (%rF). */
|
/** Relative humidity assuming air temperature of 293 kelvin (%rF). */
|
||||||
SR_UNIT_HUMIDITY_293K,
|
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. */
|
/** Values for sr_datafeed_analog.flags. */
|
||||||
|
|
Loading…
Reference in New Issue