X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fhantek-6xxx%2Fprotocol.h;h=530bd67dcc068b034b957944e34da407e9480b48;hb=4435966e43da77164d517ee2943ac3e3f4c1dee5;hp=6e87079c82efcdcccd598f58dd5fa035ed8dca28;hpb=cc5ebc8a3d66e15ade82475ae890e0dafe9b4586;p=libsigrok.git diff --git a/src/hardware/hantek-6xxx/protocol.h b/src/hardware/hantek-6xxx/protocol.h index 6e87079c..530bd67d 100644 --- a/src/hardware/hantek-6xxx/protocol.h +++ b/src/hardware/hantek-6xxx/protocol.h @@ -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 @@ -101,7 +101,6 @@ struct hantek_6xxx_profile { struct dev_context { const struct hantek_6xxx_profile *profile; - void *cb_data; GSList *enabled_channels; /* * We can't keep track of an FX2-based device after upgrading