]> sigrok.org Git - libsigrok.git/blobdiff - src/hwdriver.c
drivers: Fix behaviour when trying to set an invalid capture ratio.
[libsigrok.git] / src / hwdriver.c
index 0700276cb84db77f39ebdd0ee6e88ca5be9d89c7..c5d4bf29b02ded8aa387f8266ef129ef400fb9ab 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <stdlib.h>
 #include <stdio.h>
 #include <sys/types.h>
 #include <dirent.h>
 #include <string.h>
 #include <glib.h>
-#include "config.h" /* Needed for HAVE_LIBUSB_1_0 and others. */
 #include <libsigrok/libsigrok.h>
 #include "libsigrok-internal.h"
 
@@ -167,8 +167,6 @@ static struct sr_key_info sr_key_info_config[] = {
                "Output frequency target", NULL},
        {SR_CONF_MEASURED_QUANTITY, SR_T_MQ, "measured_quantity",
                "Measured quantity", NULL},
-       {SR_CONF_MEASURED_2ND_QUANTITY, SR_T_STRING, "measured_2nd_quantity",
-               "Measured secondary quantity", NULL},
        {SR_CONF_EQUIV_CIRCUIT_MODEL, SR_T_STRING, "equiv_circuit_model",
                "Equivalent circuit model", NULL},
        {SR_CONF_OVER_TEMPERATURE_PROTECTION_ACTIVE, SR_T_BOOL, "otp_active",