X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Ftesto%2Fprotocol.h;h=654eb6977a7fabbb5d4fc591ae60f351f5dfa681;hb=d2f7c417fdd96a13d8fd86350d2fc13db16f626c;hp=8621bc2cc1f2512595eb6838ad18700308da7598;hpb=c1aae90038456a61d0f9313d34e6107c3440d3e7;p=libsigrok.git diff --git a/src/hardware/testo/protocol.h b/src/hardware/testo/protocol.h index 8621bc2c..654eb697 100644 --- a/src/hardware/testo/protocol.h +++ b/src/hardware/testo/protocol.h @@ -46,7 +46,7 @@ #define EP_OUT 2 | LIBUSB_ENDPOINT_OUT struct testo_model { - char *name; + const char *name; int request_size; const uint8_t *request; }; @@ -57,13 +57,9 @@ struct dev_context { const struct testo_model *model; /* Acquisition settings */ - uint64_t limit_msec; - uint64_t limit_samples; - void *cb_data; + struct sr_sw_limits sw_limits; /* Operational state */ - gint64 end_time; - uint64_t num_samples; uint8_t channel_units[MAX_CHANNELS]; int num_channels;