X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fopenbench-logic-sniffer%2Fols.h;h=a554ae8c0b42239a1f26e71436fae017293cd31d;hb=185ae2c5c9ada0353b43e3736e838bbc8e370cb4;hp=e0161b0810ef414aaa1d73a91bb31b236416844d;hpb=c0a4b9716d32811d9b2320884d3bd0e599feedcf;p=libsigrok.git diff --git a/hardware/openbench-logic-sniffer/ols.h b/hardware/openbench-logic-sniffer/ols.h index e0161b08..a554ae8c 100644 --- a/hardware/openbench-logic-sniffer/ols.h +++ b/hardware/openbench-logic-sniffer/ols.h @@ -1,7 +1,7 @@ /* * This file is part of the sigrok project. * - * Copyright (C) 2011 Bert Vermeulen + * Copyright (C) 2012 Bert Vermeulen * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -81,11 +81,14 @@ struct ols_device { int num_stages; unsigned int num_transfers; + unsigned int num_samples; + int rle_count; int num_bytes; - char last_sample[4]; unsigned char sample[4]; unsigned char tmp_sample[4]; unsigned char *raw_sample_buf; + + struct sr_serial_device_instance *serial; }; #endif /* OLS_H_ */