mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +00:00
Allow the use of TLS in MINIMAL if compiled with TLS
This commit is contained in:
parent
750d35283b
commit
4ca8a4cf02
@ -608,10 +608,12 @@ void MqttReconnect(void)
|
|||||||
global_state.mqtt_down = 1;
|
global_state.mqtt_down = 1;
|
||||||
|
|
||||||
#ifdef FIRMWARE_MINIMAL
|
#ifdef FIRMWARE_MINIMAL
|
||||||
|
#ifndef USE_MQTT_TLS
|
||||||
// Don't try to connect if MQTT requires TLS but TLS is not supported
|
// Don't try to connect if MQTT requires TLS but TLS is not supported
|
||||||
if (Settings.flag4.mqtt_tls) {
|
if (Settings.flag4.mqtt_tls) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
AddLog_P(LOG_LEVEL_INFO, S_LOG_MQTT, PSTR(D_ATTEMPTING_CONNECTION));
|
AddLog_P(LOG_LEVEL_INFO, S_LOG_MQTT, PSTR(D_ATTEMPTING_CONNECTION));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user