]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
sr: split driver options into separate list
[libsigrok.git] / libsigrok.h
index 2b07236a53136d9e1ac16473e2b43085df7111c6..68f8ce8e498ecce1a9df21ad91897774620c1a6c 100644 (file)
@@ -268,6 +268,8 @@ struct sr_hwopt {
 
 /* Hardware driver options */
 enum {
+       SR_HWOPT_DUMMY = 0, /* Used to terminate lists. Must be 0! */
+
        /** Some drivers cannot detect the exact model they're talking to. */
        SR_HWOPT_MODEL,