]> sigrok.org Git - libsigrok.git/commitdiff
sr: sigrok.h.in: Set SR_HWCAP_DUMMY to 0 explicitly.
authorUwe Hermann <redacted>
Sat, 28 Jan 2012 18:42:04 +0000 (19:42 +0100)
committerUwe Hermann <redacted>
Sat, 28 Jan 2012 18:42:04 +0000 (19:42 +0100)
sigrok.h.in

index dd7d457d194c65a6a14be7af40be81cdb03b7f37..fb8e0d53b732dffb501abe29244e0599e9c1a75c 100644 (file)
@@ -189,7 +189,7 @@ struct sr_probe {
 
 /* Hardware plugin capabilities */
 enum {
-       SR_HWCAP_DUMMY,             /* Used to terminate lists */
+       SR_HWCAP_DUMMY = 0, /* Used to terminate lists. Must be 0! */
 
        /*--- Device classes ------------------------------------------------*/