}
-static int wait_for_token(const struct sr_dev_inst *sdi, char *tokens, int timeout)
+static int wait_for_token(const struct sr_dev_inst *sdi, int8_t *tokens, int timeout)
{
struct dev_context *devc;
struct sr_serial_dev_inst *serial;
/* 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,
- char *tokens, int timeout)
+ int8_t *tokens, int timeout)
{
struct dev_context *devc;
struct sr_serial_dev_inst *serial;
int *state)
{
struct dev_context *devc;
- char tokens[5];
+ int8_t tokens[5];
devc = sdi->priv;
if (devc->recording == -1) {
{
struct dev_context *devc;
int ret;
- char tokens[5];
+ int8_t tokens[5];
devc = sdi->priv;
{
struct dev_context *devc;
int cur_setting;
- char tokens[5];
+ int8_t tokens[5];
devc = sdi->priv;
{
struct dev_context *devc;
int cur_setting, ret;
- char tokens[5];
+ int8_t tokens[5];
devc = sdi->priv;
{
struct dev_context *devc;
int cur_setting;
- char tokens[5];
+ int8_t tokens[5];
devc = sdi->priv;
{
struct dev_context *devc;
int cur_setting, ret;
- char tokens[5];
+ int8_t tokens[5];
devc = sdi->priv;
gboolean *holdmode)
{
struct dev_context *devc;
- char tokens[5];
+ int8_t tokens[5];
devc = sdi->priv;
{
struct dev_context *devc;
int cur_setting, ret;
- char tokens[5];
+ int8_t tokens[5];
devc = sdi->priv;
uint64_t *low, uint64_t *high)
{
struct dev_context *devc;
- char tokens[5];
+ int8_t tokens[5];
devc = sdi->priv;
if (devc->cur_meas_range == 0) {
{
struct dev_context *devc;
int ret;
- char token, tokens[6];
+ int8_t token, tokens[6];
devc = sdi->priv;
if (low == 30 && high == 130)