]> sigrok.org Git - libsigrok.git/commitdiff
fx2lafw: Rename trigger constant.
authorBert Vermeulen <redacted>
Thu, 22 May 2014 21:22:37 +0000 (23:22 +0200)
committerBert Vermeulen <redacted>
Thu, 22 May 2014 21:22:37 +0000 (23:22 +0200)
hardware/fx2lafw/api.c
hardware/fx2lafw/protocol.h

index 6b7f9fa0f0f76e1d46a3103d28013ecaf21cb7e0..c2dc2e0c2772d465c7b28763fee78b8297e1d1b6 100644 (file)
@@ -476,7 +476,7 @@ static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi,
                *data = g_variant_builder_end(&gvb);
                break;
        case SR_CONF_TRIGGER_TYPE:
-               *data = g_variant_new_string(TRIGGER_TYPE);
+               *data = g_variant_new_string(SOFT_TRIGGER_TYPES);
                break;
        default:
                return SR_ERR_NA;
index dfb6ef8a909537c5a1c9bc0a8f5289034d529fbe..82fb1e6adaf21b5ac494ab06704a1d7f55548a9a 100644 (file)
@@ -34,7 +34,7 @@
 #define USB_INTERFACE          0
 #define USB_CONFIGURATION      1
 #define NUM_TRIGGER_STAGES     4
-#define TRIGGER_TYPE           "01"
+#define SOFT_TRIGGER_TYPES     "01"
 
 #define MAX_RENUM_DELAY_MS     3000
 #define NUM_SIMUL_TRANSFERS    32