X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fcenter-3xx%2Fprotocol.c;h=e7af103905c7cc23143d8d15ae23a5b45e18b01c;hb=eead2782427ee5da9b793527f9484ac827a7bec5;hp=82fa19094f1093ff66ae91706c8889583ad4951b;hpb=7ce59a31334cdb9b12d9b1c166b542acf1899e00;p=libsigrok.git diff --git a/src/hardware/center-3xx/protocol.c b/src/hardware/center-3xx/protocol.c index 82fa1909..e7af1039 100644 --- a/src/hardware/center-3xx/protocol.c +++ b/src/hardware/center-3xx/protocol.c @@ -31,7 +31,7 @@ static int center_send(struct sr_serial_dev_inst *serial, const char *cmd) { int ret; - if ((ret = serial_write_blocking(serial, cmd, strlen(cmd))) < 0) { + if ((ret = serial_write_blocking(serial, cmd, strlen(cmd), 0)) < 0) { sr_err("Error sending '%s' command: %d.", cmd, ret); return SR_ERR; }