]> sigrok.org Git - libsigrok.git/blobdiff - hardware/hantek-dso/dso.h
hantek-dso: move buffer sizes to device context
[libsigrok.git] / hardware / hantek-dso / dso.h
index 8d543b62921d36608d1ec4602471a269429def8b..b4f563464fda352a8b57fc3f976e50596c4308d4 100644 (file)
@@ -55,8 +55,8 @@
 /* Hantek DSO-specific protocol values */
 #define EEPROM_CHANNEL_OFFSETS  0x08
 
+/* All models have this for their "fast" mode. */
 #define FRAMESIZE_SMALL         10240
-#define FRAMESIZE_LARGE         32768
 
 enum control_requests {
        CTRL_READ_EEPROM = 0xa2,
@@ -163,6 +163,7 @@ struct dso_profile {
        uint16_t fw_pid;
        char *vendor;
        char *model;
+       const uint64_t *buffersizes;
        char *firmware;
 };