X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fopenbench-logic-sniffer%2Fols.h;h=832413fd03cb88728e116e089af9b27968a4666f;hb=5097b0d0912165429aceddb5febbf68467b623f5;hp=0b1a61361c0297618381eb25ab1333073a249f91;hpb=0f8522bf74af8abfe8601e978b2e0d0e40b1a124;p=libsigrok.git diff --git a/hardware/openbench-logic-sniffer/ols.h b/hardware/openbench-logic-sniffer/ols.h index 0b1a6136..832413fd 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) 2012 Bert Vermeulen + * Copyright (C) 2010-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 @@ -59,7 +59,7 @@ #define FLAG_CLOCK_INVERTED 0x80 #define FLAG_RLE 0x0100 -struct ols_device { +struct ols_dev { uint32_t max_samplerate; uint32_t max_samples; uint32_t protocol_version; @@ -88,7 +88,7 @@ struct ols_device { unsigned char tmp_sample[4]; unsigned char *raw_sample_buf; - struct sr_serial_device_instance *serial; + struct sr_serial_dev_inst *serial; }; #endif