X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fkorad-kaxxxxp%2Fprotocol.h;h=46a3896273103c154eae6d481bd1cc5363797883;hb=1b7d49db64449a7d2c2cdc947bc25541debe99b0;hp=8f8ce5f229fc344d4a43265e8447725ef4f21a09;hpb=f5083435cb874618625c5dc31d02fae5610dd946;p=libsigrok.git diff --git a/src/hardware/korad-kaxxxxp/protocol.h b/src/hardware/korad-kaxxxxp/protocol.h index 8f8ce5f2..46a38962 100644 --- a/src/hardware/korad-kaxxxxp/protocol.h +++ b/src/hardware/korad-kaxxxxp/protocol.h @@ -41,6 +41,7 @@ enum { KORAD_KA3005P_V55, KORAD_KD3005P, KORAD_KD3005P_V20_NOSP, + KORAD_KD3005P_V21_NOSP, RND_320_KD3005P, RND_320_KA3005P, RND_320K30PV, @@ -118,7 +119,7 @@ struct dev_context { SR_PRIV int korad_kaxxxxp_send_cmd(struct sr_serial_dev_inst *serial, const char *cmd); SR_PRIV int korad_kaxxxxp_read_chars(struct sr_serial_dev_inst *serial, - int count, char *buf); + size_t count, char *buf); SR_PRIV int korad_kaxxxxp_set_value(struct sr_serial_dev_inst *serial, int target, struct dev_context *devc); SR_PRIV int korad_kaxxxxp_get_value(struct sr_serial_dev_inst *serial,