X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fhantek-4032l%2Fprotocol.c;h=f316793184a4c4b042757cd592b4a41ec8803d38;hb=e4204b1757459a03c0a70849a659f27387edc295;hp=77afae0e2ec5d6eea5cd456197bd105f15eb0f40;hpb=8686b747cd40695c36f998603f6e853ee5eea883;p=libsigrok.git diff --git a/src/hardware/hantek-4032l/protocol.c b/src/hardware/hantek-4032l/protocol.c index 77afae0e..f3167931 100644 --- a/src/hardware/hantek-4032l/protocol.c +++ b/src/hardware/hantek-4032l/protocol.c @@ -132,7 +132,7 @@ static void send_data(struct sr_dev_inst *sdi, sr_session_send(sdi, &trig); /* Send rest of data. */ - logic.length = (sample_count-trigger_offset) * sizeof(uint32_t); + logic.length = (sample_count - trigger_offset) * sizeof(uint32_t); logic.data = data + trigger_offset; if (logic.length) sr_session_send(sdi, &packet);