]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/ikalogic-scanaplus/protocol.h
output/csv: use intermediate time_t var, silence compiler warning
[libsigrok.git] / src / hardware / ikalogic-scanaplus / protocol.h
index deb76b1595c46231e1db8717b175aaa72d4edca7..fde2e4e2ef8a174265d64292f4a08e5b3b08759a 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
 #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"
 
 #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;