X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fchronovu-la%2Fprotocol.h;h=609f37d9c5888b8ad1f6636037ddb826d91b018d;hb=f670835f1fbc03525e995d6970a5495976ab7c1a;hp=bd1efff26b1ae83ea0fe7a96e62e5258572ada4e;hpb=382bea8250c8f69fff2f6b947a6ad0d884328610;p=libsigrok.git diff --git a/src/hardware/chronovu-la/protocol.h b/src/hardware/chronovu-la/protocol.h index bd1efff2..609f37d9 100644 --- a/src/hardware/chronovu-la/protocol.h +++ b/src/hardware/chronovu-la/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_CHRONOVU_LA_PROTOCOL_H @@ -69,8 +68,6 @@ struct dev_context { /** The current sampling limit (in number of samples). */ uint64_t limit_samples; - void *cb_data; - /** * A buffer containing some (mangled) samples from the device. * Format: Pretty mangled-up (due to hardware reasons), see code. @@ -137,6 +134,6 @@ SR_PRIV int cv_write(struct dev_context *devc, uint8_t *buf, int size); SR_PRIV int cv_convert_trigger(const struct sr_dev_inst *sdi); SR_PRIV int cv_set_samplerate(const struct sr_dev_inst *sdi, uint64_t samplerate); SR_PRIV int cv_read_block(struct dev_context *devc); -SR_PRIV void cv_send_block_to_session_bus(struct dev_context *devc, int block); +SR_PRIV void cv_send_block_to_session_bus(const struct sr_dev_inst *sdi, int block); #endif