X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fikalogic-scanaplus%2Fprotocol.h;h=f797832449cbbe9c5341c3eae744520fcd1c6f2f;hb=d2f7c417fdd96a13d8fd86350d2fc13db16f626c;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..f7978324 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,12 +24,12 @@ #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 { @@ -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;