X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fhantek-4032l%2Fprotocol.c;fp=src%2Fhardware%2Fhantek-4032l%2Fprotocol.c;h=f316793184a4c4b042757cd592b4a41ec8803d38;hb=e6bb2984e9c48458f2686be7e5c5e90ad1b95c42;hp=77afae0e2ec5d6eea5cd456197bd105f15eb0f40;hpb=744d683ca77ba1a68b1d662f33a466ec04d0798f;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);