]> sigrok.org Git - libsigrok.git/blobdiff - hardware/zeroplus-logic-cube/zeroplus.c
update plugins and cli to use new DF_HEADER
[libsigrok.git] / hardware / zeroplus-logic-cube / zeroplus.c
index eef93cbfe265e592f187c578105484886f5873c9..e034dfcc24f588f0b4bcd0441287a93c2b22928a 100644 (file)
@@ -512,7 +512,8 @@ static int hw_start_acquisition(int device_index, gpointer session_device_id)
        gettimeofday(&header.starttime, NULL);
        header.samplerate = cur_samplerate;
        header.protocol_id = PROTO_RAW;
-       header.num_probes = num_channels;
+       header.num_logic_probes = num_channels;
+       header.num_analog_probes = 0;
        session_bus(session_device_id, &packet);
 
        buf = g_malloc(PACKET_SIZE);