]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hantek-4032l/protocol.h
hantek-4032l: Set maximum samples size to 64MB.
[libsigrok.git] / src / hardware / hantek-4032l / protocol.h
index 70a468c054e8adc6c468d0b337598f798211ba56..0a2eeece47e08675e470b6147857557a58d299cd 100644 (file)
@@ -36,6 +36,9 @@
 #define H4032L_DATA_BUFFER_SIZE (2 * 1024)
 #define H4032L_DATA_TRANSFER_MAX_NUM 32
 
+#define H4043L_NUM_SAMPLES_MIN (2 * 1024)
+#define H4032L_NUM_SAMPLES_MAX (64 * 1024 * 1024)
+
 #define H4032L_CMD_PKT_MAGIC 0x017f
 #define H4032L_STATUS_PACKET_MAGIC 0x2B1A037F
 #define H4032L_START_PACKET_MAGIC 0x2B1A027F