From: Janne Huttunen Date: Sat, 11 Oct 2014 12:47:30 +0000 (+0300) Subject: Add two new 'auto' flags. X-Git-Tag: libsigrok-0.4.0~873 X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=commitdiff_plain;h=ae27f281655a4d5720be9024f87ceba1531da60d Add two new 'auto' flags. Add flags for indicating that the meter has selected the measured quantitiy and/or the used measurement model automatically. These are similar to the existing auto-range flag. --- diff --git a/include/libsigrok/libsigrok.h b/include/libsigrok/libsigrok.h index 3cb83a11..a45f06a2 100644 --- a/include/libsigrok/libsigrok.h +++ b/include/libsigrok/libsigrok.h @@ -340,6 +340,10 @@ enum sr_mqflag { SR_MQFLAG_AVG = 0x40000, /** Reference value shown. */ SR_MQFLAG_REFERENCE = 0x80000, + /** Device selects the measured quantity automatically. */ + SR_MQFLAG_AUTOMQ = 0x100000, + /** Device selects the measurement model automatically. */ + SR_MQFLAG_AUTOMODEL = 0x200000, }; enum sr_trigger_matches {