]> sigrok.org Git - libsigrok.git/blobdiff - src/hwdriver.c
hwdriver: introduce SR_CONF_FORCE_DETECT config key (scan option)
[libsigrok.git] / src / hwdriver.c
index 1016507e12eb38951749e4545ebb2eb2b330531c..03d268e1397a39f382faeb86935d5e68fb74a046 100644 (file)
@@ -71,6 +71,8 @@ static struct sr_key_info sr_key_info_config[] = {
                "Serial communication", NULL},
        {SR_CONF_MODBUSADDR, SR_T_UINT64, "modbusaddr",
                "Modbus slave address", NULL},
+       {SR_CONF_FORCE_DETECT, SR_T_STRING, "force_detect",
+               "Forced detection", NULL},
 
        /* Device (or channel group) configuration */
        {SR_CONF_SAMPLERATE, SR_T_UINT64, "samplerate",