]> sigrok.org Git - libsigrok.git/commitdiff
sr: Fix incorrectly renamed functions.
authorUwe Hermann <redacted>
Sat, 18 Feb 2012 11:17:56 +0000 (12:17 +0100)
committerUwe Hermann <redacted>
Sat, 18 Feb 2012 11:25:43 +0000 (12:25 +0100)
hardware/asix-sigma/asix-sigma.c

index 67614c1d1d92bd8b31cbd3ffd83f8eb45873c32d..d0427498b2569bfe9ed306b97bc1d02cd9b08dee 100644 (file)
@@ -118,7 +118,7 @@ static const char *firmware_files[] = {
        "asix-sigma-phasor.fw", /* Frequency counter */
 };
 
-static int hw_dev_dev_acquisition_stop(int dev_index, gpointer session_data);
+static int hw_dev_acquisition_stop(int dev_index, gpointer session_data);
 
 static int sigma_read(void *buf, size_t size, struct sigma *sigma)
 {
@@ -1034,7 +1034,7 @@ static int receive_data(int fd, int revents, void *session_data)
                if (running_msec < sigma->limit_msec && numchunks < 32767)
                        return FALSE;
 
-               hw_dev_dev_acquisition_stop(sdi->index, session_data);
+               hw_dev_acquisition_stop(sdi->index, session_data);
 
                return FALSE;
 
@@ -1252,7 +1252,7 @@ static int build_basic_trigger(struct triggerlut *lut, struct sigma *sigma)
        return SR_OK;
 }
 
-static int hw_dev_dev_acquisition_start(int dev_index, gpointer session_data)
+static int hw_dev_acquisition_start(int dev_index, gpointer session_data)
 {
        struct sr_dev_inst *sdi;
        struct sigma *sigma;
@@ -1369,7 +1369,7 @@ static int hw_dev_dev_acquisition_start(int dev_index, gpointer session_data)
        return SR_OK;
 }
 
-static int hw_dev_dev_acquisition_stop(int dev_index, gpointer session_data)
+static int hw_dev_acquisition_stop(int dev_index, gpointer session_data)
 {
        struct sr_dev_inst *sdi;
        struct sigma *sigma;
@@ -1423,6 +1423,6 @@ SR_PRIV struct sr_dev_plugin asix_sigma_plugin_info = {
        .dev_status_get = hw_dev_status_get,
        .hwcap_get_all = hw_hwcap_get_all,
        .dev_config_set = hw_dev_config_set,
-       .dev_dev_acquisition_start = hw_dev_dev_acquisition_start,
-       .dev_dev_acquisition_stop = hw_dev_dev_acquisition_stop,
+       .dev_acquisition_start = hw_dev_acquisition_start,
+       .dev_acquisition_stop = hw_dev_acquisition_stop,
 };