X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=input%2Finput_binary.c;h=2f1462d07dc5f9424e34bd308d35224c9466ef31;hb=2566bd4884bf33518488504575ba62e99ef43a7b;hp=7c9f96ba9f3d9a99bfa4b42a8344260f879b4b7e;hpb=4c046c6bcc392666405154853faf7dc2522aa1d9;p=libsigrok.git diff --git a/input/input_binary.c b/input/input_binary.c index 7c9f96ba..2f1462d0 100644 --- a/input/input_binary.c +++ b/input/input_binary.c @@ -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);