]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/scpi-pps/protocol.h
scpi-pps: Reimplemention of switching channel groups (PSU channels)
[libsigrok.git] / src / hardware / scpi-pps / protocol.h
index e93658208831324953fdf3f3de61cd1b12e063e7..aee7fcc51b6bb7f6ba6558e09b4be415cecc6491 100644 (file)
@@ -29,7 +29,7 @@
 #define LOG_PREFIX "scpi-pps"
 
 enum pps_scpi_cmds {
-       SCPI_CMD_REMOTE,
+       SCPI_CMD_REMOTE = 1,
        SCPI_CMD_LOCAL,
        SCPI_CMD_BEEPER,
        SCPI_CMD_BEEPER_ENABLE,
@@ -143,7 +143,7 @@ struct dev_context {
        struct channel_spec *channels;
        struct channel_group_spec *channel_groups;
 
-       struct sr_channel *cur_channel;
+       struct sr_channel *cur_acquisition_channel;
 };
 
 SR_PRIV extern unsigned int num_pps_profiles;