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:
parent
1079324f9e
commit
050eb3b32d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue