From f66d45806fb6f9757343db72664ab2b058c75985 Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Thu, 22 May 2014 23:22:37 +0200 Subject: [PATCH] fx2lafw: Rename trigger constant. --- hardware/fx2lafw/api.c | 2 +- hardware/fx2lafw/protocol.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/fx2lafw/api.c b/hardware/fx2lafw/api.c index 6b7f9fa0..c2dc2e0c 100644 --- a/hardware/fx2lafw/api.c +++ b/hardware/fx2lafw/api.c @@ -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; diff --git a/hardware/fx2lafw/protocol.h b/hardware/fx2lafw/protocol.h index dfb6ef8a..82fb1e6a 100644 --- a/hardware/fx2lafw/protocol.h +++ b/hardware/fx2lafw/protocol.h @@ -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