X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fscpi-pps%2Fprotocol.h;h=7699ac844ad6382eec3d015d27417e45e47a28c1;hb=fd2433153a3e2c2681d637f715c19f2b6f40fcc9;hp=e9da0d6dd6e82fe6022cbb12ec6faa97370251d2;hpb=7e66bf058624f96d3cd8c4d1cb3dbd87e27e2440;p=libsigrok.git diff --git a/src/hardware/scpi-pps/protocol.h b/src/hardware/scpi-pps/protocol.h index e9da0d6d..7699ac84 100644 --- a/src/hardware/scpi-pps/protocol.h +++ b/src/hardware/scpi-pps/protocol.h @@ -107,7 +107,7 @@ struct scpi_pps { int (*probe_channels) (struct sr_dev_inst *sdi, struct sr_scpi_hw_info *hwinfo, struct channel_spec **channels, unsigned int *num_channels, struct channel_group_spec **channel_groups, unsigned int *num_channel_groups); - int (*init_aquisition) (const struct sr_dev_inst *sdi); + int (*init_acquisition) (const struct sr_dev_inst *sdi); int (*update_status) (const struct sr_dev_inst *sdi); }; @@ -126,10 +126,13 @@ struct channel_group_spec { const char *name; uint64_t channel_index_mask; uint64_t features; + /* The mqflags will only be applied to voltage and current channels! */ + enum sr_mqflag mqflags; }; struct pps_channel { enum sr_mq mq; + enum sr_mqflag mqflags; unsigned int hw_output_idx; const char *hwname; int digits;