From: Uwe Hermann Date: Sat, 3 Mar 2018 18:25:57 +0000 (+0100) Subject: libsigrok.h: Fix SR_CONF_UNDER_VOLTAGE_CONDITION_THRESHOLD order. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=187c300b59f67f23f4ae6bad3f2102b2c1ae0b28;p=libsigrok.git libsigrok.h: Fix SR_CONF_UNDER_VOLTAGE_CONDITION_THRESHOLD order. This has to be the last entry in its "category", otherwise it'll mean an ABI breakage. --- diff --git a/include/libsigrok/libsigrok.h b/include/libsigrok/libsigrok.h index 6ab0ea2c..cfc515d8 100644 --- a/include/libsigrok/libsigrok.h +++ b/include/libsigrok/libsigrok.h @@ -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 -------------------------------------------------*/