]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/hantek-dso/protocol.c
drivers: Use NUM_CHANNELS in favor of hardcoded values.
[libsigrok.git] / src / hardware / hantek-dso / protocol.c
index b1a56ebdeb482f46091c5d68f1a44978b6206277..644ac0d24dc913a636be63943f24db67072ee26e 100644 (file)
@@ -27,8 +27,6 @@
 #include "libsigrok-internal.h"
 #include "protocol.h"
 
-#define NUM_CHANNELS 2
-
 static int send_begin(const struct sr_dev_inst *sdi)
 {
        struct sr_usb_dev_inst *usb;