mirror of https://github.com/arendst/Tasmota.git
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;
|
||||
|
||||
#ifdef FIRMWARE_MINIMAL
|
||||
#ifndef USE_MQTT_TLS
|
||||
// Don't try to connect if MQTT requires TLS but TLS is not supported
|
||||
if (Settings.flag4.mqtt_tls) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
AddLog_P(LOG_LEVEL_INFO, S_LOG_MQTT, PSTR(D_ATTEMPTING_CONNECTION));
|
||||
|
|
Loading…
Reference in New Issue