]> sigrok.org Git - libsigrok.git/blobdiff - input/input_binary.c
update plugins and cli to use new DF_HEADER
[libsigrok.git] / input / input_binary.c
index 7c9f96ba9f3d9a99bfa4b42a8344260f879b4b7e..2f1462d07dc5f9424e34bd308d35224c9466ef31 100644 (file)
@@ -48,7 +48,8 @@ static int in_loadfile(const char *filename)
        device = device_new(NULL, 0, num_probes);
 
        header.feed_version = 1;
-       header.num_probes = num_probes;
+       header.num_logic_probes = num_probes;
+       header.num_analog_probes = 0; /* FIXME */
        header.protocol_id = PROTO_RAW;
        header.samplerate = 0;
        gettimeofday(&header.starttime, NULL);