From: Gerhard Sittig Date: Sun, 30 Jan 2022 10:18:12 +0000 (+0100) Subject: kingst-la2016: sort protocol.h priv routines in order of use X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b1e8446fdb270c3303b3ca90c854c1ea608cfa39;p=libsigrok.git kingst-la2016: sort protocol.h priv routines in order of use Sort the SR_PRIV la2016_*() routines in protocol.h in order of typical use, improving navigation during maintenance. Keep protocolc. as is to reduce the diff size. --- diff --git a/src/hardware/kingst-la2016/protocol.h b/src/hardware/kingst-la2016/protocol.h index dae057ef..c865a13b 100644 --- a/src/hardware/kingst-la2016/protocol.h +++ b/src/hardware/kingst-la2016/protocol.h @@ -131,14 +131,14 @@ struct dev_context { SR_PRIV int la2016_upload_firmware(const struct sr_dev_inst *sdi, struct sr_context *sr_ctx, libusb_device *dev, uint16_t product_id); -SR_PRIV int la2016_setup_acquisition(const struct sr_dev_inst *sdi); -SR_PRIV int la2016_start_acquisition(const struct sr_dev_inst *sdi); -SR_PRIV int la2016_abort_acquisition(const struct sr_dev_inst *sdi); -SR_PRIV int la2016_receive_data(int fd, int revents, void *cb_data); SR_PRIV int la2016_identify_device(const struct sr_dev_inst *sdi, gboolean show_message); SR_PRIV int la2016_init_hardware(const struct sr_dev_inst *sdi); SR_PRIV int la2016_deinit_hardware(const struct sr_dev_inst *sdi); SR_PRIV int la2016_write_pwm_config(const struct sr_dev_inst *sdi, size_t idx); +SR_PRIV int la2016_setup_acquisition(const struct sr_dev_inst *sdi); +SR_PRIV int la2016_start_acquisition(const struct sr_dev_inst *sdi); +SR_PRIV int la2016_abort_acquisition(const struct sr_dev_inst *sdi); +SR_PRIV int la2016_receive_data(int fd, int revents, void *cb_data); #endif