From: Uwe Hermann Date: Sat, 28 Jan 2012 18:42:04 +0000 (+0100) Subject: sr: sigrok.h.in: Set SR_HWCAP_DUMMY to 0 explicitly. X-Git-Tag: libsigrok-0.1.0~165 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=fb93625d1afbe0bc2648b550102c100949066fbd;p=libsigrok.git sr: sigrok.h.in: Set SR_HWCAP_DUMMY to 0 explicitly. --- diff --git a/sigrok.h.in b/sigrok.h.in index dd7d457d..fb8e0d53 100644 --- a/sigrok.h.in +++ b/sigrok.h.in @@ -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 ------------------------------------------------*/