]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/scpi-pps/protocol.h
scpi-pps: Optimize channel selection.
[libsigrok.git] / src / hardware / scpi-pps / protocol.h
index 8a810af7f32ce67aaf362794b881cf2e35e77cf6..189f1ed95d5c5643c3f7c1fcbf83745dd1dbfb4c 100644 (file)
@@ -153,6 +153,8 @@ SR_PRIV int scpi_cmd(const struct sr_dev_inst *sdi, int command, ...);
 SR_PRIV int scpi_cmd_resp(const struct sr_dev_inst *sdi, GVariant **gvar,
                const GVariantType *gvtype, int command, ...);
 SR_PRIV int select_channel(const struct sr_dev_inst *sdi, struct sr_channel *ch);
+SR_PRIV struct sr_channel *next_enabled_channel(const struct sr_dev_inst *sdi,
+               struct sr_channel *cur_channel);
 SR_PRIV int scpi_pps_receive_data(int fd, int revents, void *cb_data);
 
 #endif