]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hantek-dso/protocol.h
rigol-ds: Fix crash when fetching logic channels
[libsigrok.git] / src / hardware / hantek-dso / protocol.h
index 9cab61b351d533b0f2c1031d73a2fabad65bd553..20aaebdce89a40595d20c5eec744e893f8ffd782 100644 (file)
@@ -51,6 +51,8 @@
 /* All models have this for their "fast" mode. */
 #define FRAMESIZE_SMALL         (10 * 1024)
 
+#define NUM_CHANNELS           2
+
 enum control_requests {
        CTRL_READ_EEPROM = 0xa2,
        CTRL_GETSPEED = 0xb2,