]> sigrok.org Git - libsigrok.git/blobdiff - hardware/zeroplus-logic-cube/zeroplus.c
Support for analog probes
[libsigrok.git] / hardware / zeroplus-logic-cube / zeroplus.c
index 316acfeb77a9b2020ba266887fad00610b5b2db7..eef93cbfe265e592f187c578105484886f5873c9 100644 (file)
@@ -528,8 +528,9 @@ static int hw_start_acquisition(int device_index, gpointer session_device_id)
                          PACKET_SIZE, res);
 #endif
 
-               packet.type = DF_LOGIC32;
+               packet.type = DF_LOGIC;
                packet.length = PACKET_SIZE;
+               packet.unitsize = 4;
                packet.payload = buf;
                session_bus(session_device_id, &packet);
        }