X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fnorma-dmm%2Fprotocol.c;h=d6733b2f961e76ff3a53d43341bc84255194e61f;hb=ce4bd05256a891d45b0013c33cdd9f2597c3bc80;hp=035e991e8f1d40db9544acc531fc99bef4b8623a;hpb=92714255b375d72458ddbac6c632d81f51fb9900;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;