From edb000eb2f78aff4ea805ffc25a07792bedcea90 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Sat, 18 Aug 2012 14:26:43 +0200 Subject: [PATCH] sr: add fahrenheit and boolean MQ units --- libsigrok.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libsigrok.h b/libsigrok.h index 0d43843c..20e5c444 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -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 {