]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
teleinfo: Minor cleanups.
[libsigrok.git] / libsigrok.h
index 6e81c6f69851dbbb7e33aca7d35198d80fc670bf..f546183e48915f3355c1a20a28f6797a26c13067 100644 (file)
@@ -17,8 +17,8 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef LIBSIGROK_SIGROK_H
-#define LIBSIGROK_SIGROK_H
+#ifndef LIBSIGROK_LIBSIGROK_H
+#define LIBSIGROK_LIBSIGROK_H
 
 #include <stdio.h>
 #include <sys/time.h>
@@ -299,6 +299,8 @@ enum {
        SR_MQFLAG_SPL_PCT_OVER_ALARM = 0x10000,
        /** Time is duration (as opposed to epoch, ...). */
        SR_MQFLAG_DURATION = 0x20000,
+       /** Device is in "avg" mode, averaging upon each new value. */
+       SR_MQFLAG_AVG = 0x40000,
 };
 
 /** sigrok context (opaque). @see sr_init(), sr_exit(). */