]> sigrok.org Git - libsigrok.git/commitdiff
Added SR_MQ_TIME and SR_MQFLAG_DURATION.
authorMatthias Heidbrink <redacted>
Tue, 19 Nov 2013 21:30:34 +0000 (22:30 +0100)
committerBert Vermeulen <redacted>
Fri, 22 Nov 2013 01:31:17 +0000 (02:31 +0100)
libsigrok.h

index 7f18d6902d596c4917da3b016b48f2a01cb21381..910e52453f5ae6565d00bc9cf0ae2b0fdec67a4d 100644 (file)
@@ -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;