From b8c8dc8a649ad0a76bccbfae7198cc9c8cb2ccda Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Fri, 26 Jun 2020 20:16:15 +0200 Subject: Rename logic_class to logic_group and output as group-wise RLE --- libsigrokdecode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libsigrokdecode.h') diff --git a/libsigrokdecode.h b/libsigrokdecode.h index 30282f5..0870276 100644 --- a/libsigrokdecode.h +++ b/libsigrokdecode.h @@ -326,9 +326,9 @@ struct srd_proto_data_binary { const unsigned char *data; }; struct srd_proto_data_logic { - int logic_class; - uint64_t size; - const unsigned char *data; + int logic_group; + uint64_t repeat_count; /* Number of times the value in data was repeated. */ + const unsigned char *data; /* Bitfield containing the states of the logic outputs */ }; typedef void (*srd_pd_output_callback)(struct srd_proto_data *pdata, -- cgit v1.2.3-70-g09d2