]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/raspberrypi-pico/protocol.h
raspberrypi-pico: Rev2 updates
[libsigrok.git] / src / hardware / raspberrypi-pico / protocol.h
index 8443003c9e0feebf9822b1e7c3c1398edfb76a53..6a8566ecaf4cf7c264c26668ed739aa65b9440c1 100644 (file)
@@ -123,7 +123,7 @@ struct dev_context {
 /* RLE related*/
        /*Previous sample values to duplicate for rle */
        float a_last[MAX_ANALOG_CHANNELS];
-       uint8_t d_last[MAX_DIGITAL_CHANNELS / 8];
+        uint8_t d_last[4];
 
 /* SW Trigger Related */
        struct soft_trigger_logic *stl;