X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fhardware%2Fnorma-dmm%2Fprotocol.c;h=d6733b2f961e76ff3a53d43341bc84255194e61f;hb=eead2782427ee5da9b793527f9484ac827a7bec5;hp=035e991e8f1d40db9544acc531fc99bef4b8623a;hpb=7ce59a31334cdb9b12d9b1c166b542acf1899e00;p=libsigrok.git diff --git a/src/hardware/norma-dmm/protocol.c b/src/hardware/norma-dmm/protocol.c index 035e991e..d6733b2f 100644 --- a/src/hardware/norma-dmm/protocol.c +++ b/src/hardware/norma-dmm/protocol.c @@ -48,7 +48,7 @@ static int nma_send_req(const struct sr_dev_inst *sdi, int req, char *params) devc->last_req = req; devc->last_req_pending = TRUE; - if (serial_write_blocking(serial, buf, len) < 0) { + if (serial_write_blocking(serial, buf, len, 0) < 0) { sr_err("Unable to send request."); devc->last_req_pending = FALSE; return SR_ERR;