]> sigrok.org Git - libsigrok.git/blobdiff - hardware/kecheng-kc-330b/protocol.c
chronovu-la: re-add return that was inadvertently removed in commit aeff7fa2
[libsigrok.git] / hardware / kecheng-kc-330b / protocol.c
index 1e12f0fd2a45c6c265fad4816dcbc9c6a1b4cc94..072eb7efa45454234a6aa281a6e01cbf6d7e91bb 100644 (file)
@@ -114,7 +114,7 @@ static void send_data(const struct sr_dev_inst *sdi, void *buf, unsigned int buf
        analog.mq = SR_MQ_SOUND_PRESSURE_LEVEL;
        analog.mqflags = devc->mqflags;
        analog.unit = SR_UNIT_DECIBEL_SPL;
-       analog.probes = sdi->probes;
+       analog.channels = sdi->channels;
        analog.num_samples = buf_len;
        analog.data = buf;
        packet.type = SR_DF_ANALOG;
@@ -336,15 +336,3 @@ SR_PRIV int kecheng_kc_330b_log_info_get(const struct sr_dev_inst *sdi,
 
        return SR_OK;
 }
-
-static int kecheng_kc_330b_log_date_time_get(const struct sr_dev_inst *sdi,
-               gboolean *tmp)
-{
-
-       (void)sdi;
-       (void)tmp;
-
-       /* TODO */
-
-       return SR_OK;
-}