]> sigrok.org Git - libsigrok.git/commitdiff
hantek-4032l: Minor cosmetic fix.
authorUwe Hermann <redacted>
Tue, 5 Jun 2018 22:01:04 +0000 (00:01 +0200)
committerUwe Hermann <redacted>
Tue, 5 Jun 2018 22:01:04 +0000 (00:01 +0200)
src/hardware/hantek-4032l/api.c

index 542e6c4a80cc7b70ab95b6eb0feb6f3342ba6d7e..729a85da6204910c1298ab2f2a16146de060cea5 100644 (file)
@@ -252,7 +252,7 @@ static GSList *scan(struct sr_dev_driver *di, GSList *options)
 
                /* Initialize command packet. */
                devc->cmd_pkt.magic = H4032L_CMD_PKT_MAGIC;
-               devc->cmd_pkt.sample_size = 16384;
+               devc->cmd_pkt.sample_size = 16 * 1024;
                devc->sample_rate = 0;
 
                devc->status = H4032L_STATUS_IDLE;