]> sigrok.org Git - libsigrok.git/commitdiff
sr: add fahrenheit and boolean MQ units
authorBert Vermeulen <redacted>
Sat, 18 Aug 2012 12:26:43 +0000 (14:26 +0200)
committerBert Vermeulen <redacted>
Sat, 18 Aug 2012 14:23:08 +0000 (16:23 +0200)
libsigrok.h

index 0d43843c16178ba4de82ed0642ae35cb35b6e0f2..20e5c444d681a1d4db379216e810049d36cf0348 100644 (file)
@@ -154,10 +154,12 @@ enum {
        SR_UNIT_AMPERE,
        SR_UNIT_OHM,
        SR_UNIT_FARAD,
-       SR_UNIT_CELSIUS,
        SR_UNIT_KELVIN,
+       SR_UNIT_CELSIUS,
+       SR_UNIT_FAHRENHEIT,
        SR_UNIT_HERTZ,
        SR_UNIT_PERCENTAGE,
+       SR_UNIT_BOOLEAN,
 };
 
 struct sr_datafeed_packet {