X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Ffx2lafw%2Fprotocol.c;h=ad16da9524d7da3e2275e0fa9f7d128f3961dbf5;hb=9906dbf5a4f26e630b76e8f56e80d6b085b90446;hp=d267ad5b0d84ff5ca17b73c442edc0b825c4b9ec;hpb=8cb222e1438c984184d9546fc374678aa9341bbb;p=libsigrok.git diff --git a/src/hardware/fx2lafw/protocol.c b/src/hardware/fx2lafw/protocol.c index d267ad5b..ad16da95 100644 --- a/src/hardware/fx2lafw/protocol.c +++ b/src/hardware/fx2lafw/protocol.c @@ -390,9 +390,10 @@ SR_PRIV void mso_send_data_proc(struct sr_dev_inst *sdi, size_t i; struct dev_context *devc; + (void)sample_width; + devc = sdi->priv; - sample_width = sample_width; length /= 2; /* Send the logic */