]> sigrok.org Git - libsigrok.git/blobdiff - hardware/openbench-logic-sniffer/protocol.h
ols: add swap channels feature
[libsigrok.git] / hardware / openbench-logic-sniffer / protocol.h
index bf449e7003f7aef3f1f4ed747f7594b2b8381a18..402c6246c56b7b861674db90a58e207999be5a17 100644 (file)
@@ -75,6 +75,7 @@
 #define FLAG_CLOCK_EXTERNAL        0x40
 #define FLAG_CLOCK_INVERTED        0x80
 #define FLAG_RLE                   0x0100
+#define FLAG_SWAP_PROBES           0x0200
 #define FLAG_EXTERNAL_TEST_MODE    0x0400
 #define FLAG_INTERNAL_TEST_MODE    0x0800
 
@@ -103,7 +104,7 @@ struct dev_context {
        int num_bytes;
 
        /* Temporary variables */
-       int rle_count;
+       unsigned int rle_count;
        unsigned char sample[4];
        unsigned char tmp_sample[4];
        unsigned char *raw_sample_buf;