mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-06 09:27:41 +00:00
Move '#include user_config_override.h' in 'my_user_config.h'.
Allow user_config_override.h to change parameters like USE_MQTT_TLS.
This commit is contained in:
parent
9785a7997c
commit
fce3de82c5
@ -549,6 +549,10 @@
|
|||||||
* No user configurable items below
|
* No user configurable items below
|
||||||
\*********************************************************************************************/
|
\*********************************************************************************************/
|
||||||
|
|
||||||
|
#ifdef USE_CONFIG_OVERRIDE
|
||||||
|
#include "user_config_override.h" // Configuration overrides for my_user_config.h
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(USE_DISCOVERY) && defined(USE_MQTT_AWS_IOT)
|
#if defined(USE_DISCOVERY) && defined(USE_MQTT_AWS_IOT)
|
||||||
#error "Select either USE_DISCOVERY or USE_MQTT_AWS_IOT, mDNS takes too much code space and is not needed for AWS IoT"
|
#error "Select either USE_DISCOVERY or USE_MQTT_AWS_IOT, mDNS takes too much code space and is not needed for AWS IoT"
|
||||||
#endif
|
#endif
|
||||||
|
@ -30,9 +30,6 @@
|
|||||||
#include "sonoff_version.h" // Sonoff-Tasmota version information
|
#include "sonoff_version.h" // Sonoff-Tasmota version information
|
||||||
#include "sonoff.h" // Enumeration used in my_user_config.h
|
#include "sonoff.h" // Enumeration used in my_user_config.h
|
||||||
#include "my_user_config.h" // Fixed user configurable options
|
#include "my_user_config.h" // Fixed user configurable options
|
||||||
#ifdef USE_CONFIG_OVERRIDE
|
|
||||||
#include "user_config_override.h" // Configuration overrides for my_user_config.h
|
|
||||||
#endif
|
|
||||||
#ifdef USE_MQTT_TLS
|
#ifdef USE_MQTT_TLS
|
||||||
#include <t_bearssl.h> // we need to include before "sonoff_post.h" to take precedence over the BearSSL version in Arduino
|
#include <t_bearssl.h> // we need to include before "sonoff_post.h" to take precedence over the BearSSL version in Arduino
|
||||||
#endif // USE_MQTT_TLS
|
#endif // USE_MQTT_TLS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user