]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/ikalogic-scanaplus/protocol.h
sr_dev_clear(): Always free sdi->priv (devc).
[libsigrok.git] / src / hardware / ikalogic-scanaplus / protocol.h
index deb76b1595c46231e1db8717b175aaa72d4edca7..f797832449cbbe9c5341c3eae744520fcd1c6f2f 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
  */
 
 #ifndef LIBSIGROK_HARDWARE_IKALOGIC_SCANAPLUS_PROTOCOL_H
@@ -25,7 +24,7 @@
 #include <string.h>
 #include <glib.h>
 #include <ftdi.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
 #define LOG_PREFIX "ikalogic-scanaplus"
@@ -43,8 +42,6 @@ struct dev_context {
        /** 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;