X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fcem-dt-885x%2Fprotocol.c;fp=hardware%2Fcem-dt-885x%2Fprotocol.c;h=78b02f6a0728213207209b095fb6c3fabbeaf782;hb=d87c1766f2968d121cea9d913b06dc3493adfd9e;hp=e0e9f8b717cc4035ac7ff1fbd0025abe8cbd9c22;hpb=8162cad7e0727fc31d797afacfed4c23dd97aca0;p=libsigrok.git diff --git a/hardware/cem-dt-885x/protocol.c b/hardware/cem-dt-885x/protocol.c index e0e9f8b7..78b02f6a 100644 --- a/hardware/cem-dt-885x/protocol.c +++ b/hardware/cem-dt-885x/protocol.c @@ -440,7 +440,7 @@ static int wait_for_token(const struct sr_dev_inst *sdi, int8_t *tokens, int tim /* cmd is the command to send, tokens are the tokens that denote the state * which the command affects. The first token is the desired state. */ -SR_PRIV int cem_dt_885x_toggle(const struct sr_dev_inst *sdi, uint8_t cmd, +static int cem_dt_885x_toggle(const struct sr_dev_inst *sdi, uint8_t cmd, int8_t *tokens, int timeout) { struct dev_context *devc;