X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fhardware%2Fikalogic-scanaplus%2Fprotocol.h;h=fde2e4e2ef8a174265d64292f4a08e5b3b08759a;hb=bb706a7690ac9b8d959631fc83b550f181ec3d9d;hp=1df0517ecec2e538308f6547c1083ca24f7390c8;hpb=155b680da482cea2381becb73c51cfb838bff31e;p=libsigrok.git
diff --git a/src/hardware/ikalogic-scanaplus/protocol.h b/src/hardware/ikalogic-scanaplus/protocol.h
index 1df0517e..fde2e4e2 100644
--- a/src/hardware/ikalogic-scanaplus/protocol.h
+++ b/src/hardware/ikalogic-scanaplus/protocol.h
@@ -14,8 +14,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
#ifndef LIBSIGROK_HARDWARE_IKALOGIC_SCANAPLUS_PROTOCOL_H
@@ -25,26 +24,18 @@
#include
#include
#include
-#include "libsigrok.h"
+#include
#include "libsigrok-internal.h"
#define LOG_PREFIX "ikalogic-scanaplus"
-#define COMPRESSED_BUF_SIZE (64 * 1024)
+#define COMPRESSED_BUF_SIZE (64 * 1024)
-/* Private, per-device-instance driver context. */
struct dev_context {
- /** FTDI device context (used by libftdi). */
struct ftdi_context *ftdic;
-
- /** The current sampling limit (in ms). */
uint64_t limit_msec;
-
- /** The current sampling limit (in number of samples). */
uint64_t limit_samples;
- void *cb_data;
-
uint8_t *compressed_buf;
uint64_t compressed_bytes_ignored;
uint8_t *sample_buf;