]> sigrok.org Git - libsigrok.git/blobdiff - hardware/fx2lafw/fx2lafw.h
ols: Report when a device doesn't support metadata
[libsigrok.git] / hardware / fx2lafw / fx2lafw.h
index 41cccc891015b3a1a1fd212d99beddbb9b42fabf..3c1116b3af47315ae6d029ce93fe29c256463e4f 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the sigrok project.
  *
- * Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
+ * Copyright (C) 2013 Bert Vermeulen <bert@biot.com>
  * Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
  *
  * This program is free software: you can redistribute it and/or modify
@@ -35,7 +35,7 @@
 #define USB_INTERFACE          0
 #define USB_CONFIGURATION      1
 #define NUM_TRIGGER_STAGES     4
-#define TRIGGER_TYPES          "01"
+#define TRIGGER_TYPE           "01"
 
 #define MAX_RENUM_DELAY_MS     3000
 #define NUM_SIMUL_TRANSFERS    32
@@ -95,7 +95,7 @@ struct dev_context {
        int submitted_transfers;
        int empty_transfer_count;
 
-       void *session_dev_id;
+       void *cb_data;
 
        struct sr_usb_dev_inst *usb;