hantek-6xxx: Use power of 2 usb packet sizes

Using non power of 2 sizes causes the driver to not work on OS X.
Depending on the usb transfer mode the buffer sizes will map
perfectly to the underlying transport protocol.
This commit is contained in:
Markus Siegert 2016-04-11 21:54:10 +02:00 committed by Uwe Hermann
parent 1079324f9e
commit 050eb3b32d
1 changed files with 2 additions and 2 deletions

View 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