X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Frigol-ds1xx2%2Fprotocol.c;h=001d671b68de2072caad6e33dfcf477ab3de8465;hb=8e2da1a650dade6529668d4b22e906ccec172b17;hp=c11006b37812f93c26ce784c42d6a82d144de3cf;hpb=9bd4c95606668bdc58a6df3c30bcd91f288a4ea9;p=libsigrok.git diff --git a/hardware/rigol-ds1xx2/protocol.c b/hardware/rigol-ds1xx2/protocol.c index c11006b3..001d671b 100644 --- a/hardware/rigol-ds1xx2/protocol.c +++ b/hardware/rigol-ds1xx2/protocol.c @@ -43,7 +43,7 @@ SR_PRIV int rigol_ds1xx2_receive(int fd, int revents, void *cb_data) int len, i, waveform_size; struct sr_probe *probe; - (void) fd; + (void)fd; if (!(sdi = cb_data)) return TRUE; @@ -288,4 +288,3 @@ SR_PRIV int rigol_ds1xx2_get_dev_cfg(const struct sr_dev_inst *sdi) return SR_OK; } -