]> sigrok.org Git - libsigrok.git/commitdiff
libsigrok.h: Fix SR_CONF_UNDER_VOLTAGE_CONDITION_THRESHOLD order.
authorUwe Hermann <redacted>
Sat, 3 Mar 2018 18:25:57 +0000 (19:25 +0100)
committerUwe Hermann <redacted>
Sat, 3 Mar 2018 18:25:57 +0000 (19:25 +0100)
This has to be the last entry in its "category", otherwise it'll mean an
ABI breakage.

include/libsigrok/libsigrok.h

index 6ab0ea2c6f333e33c76ade4fd401cac9592ff05e..cfc515d8177a4cd7e984f330dba773720de1adb9 100644 (file)
@@ -983,12 +983,12 @@ enum sr_configkey {
        /** Under-voltage condition active. */
        SR_CONF_UNDER_VOLTAGE_CONDITION_ACTIVE,
 
-       /** Under-voltage condition threshold. */
-       SR_CONF_UNDER_VOLTAGE_CONDITION_THRESHOLD,
-
        /** Trigger level. */
        SR_CONF_TRIGGER_LEVEL,
 
+       /** Under-voltage condition threshold. */
+       SR_CONF_UNDER_VOLTAGE_CONDITION_THRESHOLD,
+
        /* Update sr_key_info_config[] (hwdriver.c) upon changes! */
 
        /*--- Special stuff -------------------------------------------------*/