From 367983a7443d12d85243215bdc83f6cbdd82daeb Mon Sep 17 00:00:00 2001 From: Matthias Heidbrink Date: Tue, 19 Nov 2013 22:30:34 +0100 Subject: [PATCH] Added SR_MQ_TIME and SR_MQFLAG_DURATION. --- libsigrok.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsigrok.h b/libsigrok.h index 7f18d690..910e5245 100644 --- a/libsigrok.h +++ b/libsigrok.h @@ -179,6 +179,7 @@ enum { SR_MQ_SOUND_PRESSURE_LEVEL, SR_MQ_CARBON_MONOXIDE, SR_MQ_RELATIVE_HUMIDITY, + SR_MQ_TIME, /**< Time */ }; /** Values for sr_datafeed_analog.unit. */ @@ -267,6 +268,8 @@ enum { /** Sound pressure level represented as a percentage of measurements * that were over a preset alarm level. */ SR_MQFLAG_SPL_PCT_OVER_ALARM = 0x10000, + /** Time is duration (as opposed to epoch, ...). */ + SR_MQFLAG_DURATION = 0x20000, }; struct sr_context;