From: Janne Huttunen Date: Sat, 11 Oct 2014 12:47:27 +0000 (+0300) Subject: Add two new units. X-Git-Tag: libsigrok-0.4.0~876 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=01789adc72da9952285d43414bb59f17adc31e2c;p=libsigrok.git 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. --- diff --git a/include/libsigrok/libsigrok.h b/include/libsigrok/libsigrok.h index 61e0caa8..a34796f2 100644 --- a/include/libsigrok/libsigrok.h +++ b/include/libsigrok/libsigrok.h @@ -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. */