]> sigrok.org Git - libsigrok.git/commitdiff
Add SR_CONF_DELAY_GENERATOR
authorMarc Schink <redacted>
Wed, 31 Jan 2024 10:09:54 +0000 (11:09 +0100)
committerSoeren Apel <redacted>
Mon, 19 Aug 2024 13:54:19 +0000 (15:54 +0200)
Signed-off-by: Marc Schink <redacted>
include/libsigrok/libsigrok.h
src/hwdriver.c

index c27bc1dd68a4da1997fd2b508efb4a292aca15d4..58251b3c8088d7035950d70bd8c3c4340a30946c 100644 (file)
@@ -755,6 +755,11 @@ enum sr_configkey {
         */
        SR_CONF_MULTIPLEXER,
 
+       /**
+        * The device can act as a digital delay generator.
+        */
+       SR_CONF_DELAY_GENERATOR,
+
        /* Update sr_key_info_config[] (hwdriver.c) upon changes! */
 
        /*--- Driver scan options -------------------------------------------*/
index 984ca0d0c93d549206f60eb46e9114f7e93c2afb..7687c5f4b5fd1d2b0ab5a0c7f87141977b3ecbc3 100644 (file)
@@ -64,6 +64,7 @@ static struct sr_key_info sr_key_info_config[] = {
        {SR_CONF_SIGNAL_GENERATOR, SR_T_STRING, NULL, "Signal generator", NULL},
        {SR_CONF_POWERMETER, SR_T_STRING, NULL, "Power meter", NULL},
        {SR_CONF_MULTIPLEXER, SR_T_STRING, NULL, "Multiplexer", NULL},
+       {SR_CONF_DELAY_GENERATOR, SR_T_STRING, NULL, "Delay generator", NULL},
 
        /* Driver scan options */
        {SR_CONF_CONN, SR_T_STRING, "conn",