]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hantek-6xxx/protocol.h
hantek-6xxx: Use power of 2 usb packet sizes
[libsigrok.git] / src / hardware / hantek-6xxx / protocol.h
index 6e87079c82efcdcccd598f58dd5fa035ed8dca28..c798a184dcdee6645e33c2162145586cda2b9d81 100644 (file)
@@ -57,9 +57,9 @@
 #define VDIV_MULTIPLIER                10
 
 /* Weird flushing needed for filtering glitch away. */
-#define FLUSH_PACKET_SIZE      2600
+#define FLUSH_PACKET_SIZE      1024
 
-#define MIN_PACKET_SIZE                600
+#define MIN_PACKET_SIZE                512
 #define MAX_PACKET_SIZE                (12 * 1024 * 1024)
 
 #define HANTEK_EP_IN           0x86