X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fatten-pps3xxx%2Fprotocol.c;h=0db7e232ad5fe8b880af69dfa44ce64e6079b707;hb=eead2782427ee5da9b793527f9484ac827a7bec5;hp=95137d2e9a8164e86041d5184129ab749173c75f;hpb=7ce59a31334cdb9b12d9b1c166b542acf1899e00;p=libsigrok.git diff --git a/src/hardware/atten-pps3xxx/protocol.c b/src/hardware/atten-pps3xxx/protocol.c index 95137d2e..0db7e232 100644 --- a/src/hardware/atten-pps3xxx/protocol.c +++ b/src/hardware/atten-pps3xxx/protocol.c @@ -86,7 +86,7 @@ SR_PRIV void send_packet(const struct sr_dev_inst *sdi, uint8_t *packet) struct sr_serial_dev_inst *serial; serial = sdi->conn; - if (serial_write_blocking(serial, packet, PACKET_SIZE) < PACKET_SIZE) + if (serial_write_blocking(serial, packet, PACKET_SIZE, 0) < PACKET_SIZE) sr_dbg("Failed to send packet."); dump_packet("sent", packet); }