X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fmanson-hcs-3xxx%2Fprotocol.h;h=c63f943d7645679f285440621df847f386994ddf;hb=c81069b33760f6de36466410ad4bbc9cb762e938;hp=e903537728c2bdca03c08b599182ec59e307f81f;hpb=329733d92c5004f0fe308eff26b9537fded2cdf3;p=libsigrok.git diff --git a/src/hardware/manson-hcs-3xxx/protocol.h b/src/hardware/manson-hcs-3xxx/protocol.h index e9035377..c63f943d 100644 --- a/src/hardware/manson-hcs-3xxx/protocol.h +++ b/src/hardware/manson-hcs-3xxx/protocol.h @@ -31,7 +31,7 @@ #include #include #include -#include "libsigrok.h" +#include #include "libsigrok-internal.h" #define LOG_PREFIX "manson-hcs-3xxx" @@ -66,7 +66,7 @@ struct hcs_model { /** Private, per-device-instance driver context. */ struct dev_context { - const struct hcs_model *model; /**< Model informaion. */ + const struct hcs_model *model; /**< Model information. */ uint64_t limit_samples; uint64_t limit_msec; @@ -92,7 +92,7 @@ struct dev_context { }; SR_PRIV int hcs_parse_volt_curr_mode(struct sr_dev_inst *sdi, char **tokens); -SR_PRIV int hcs_read_reply(struct sr_serial_dev_inst *serial, int lines, char* buf, int buflen); +SR_PRIV int hcs_read_reply(struct sr_serial_dev_inst *serial, int lines, char *buf, int buflen); SR_PRIV int hcs_send_cmd(struct sr_serial_dev_inst *serial, const char *cmd, ...); SR_PRIV int hcs_receive_data(int fd, int revents, void *cb_data);