mirror of https://github.com/arendst/Tasmota.git
Fixed log for unsupported reatined messages
This commit is contained in:
parent
72c47c667a
commit
a8b93c4cdb
|
@ -237,7 +237,9 @@ void MqttPublish(const char* topic, bool retained)
|
|||
{
|
||||
char *me;
|
||||
#ifdef USE_MQTT_AWS_IOT
|
||||
AddLog_P(LOG_LEVEL_DEBUG, S_LOG_MQTT, PSTR("Retained are not supported by AWS IoT, using retained = false."));
|
||||
if (retained) {
|
||||
AddLog_P(LOG_LEVEL_INFO, S_LOG_MQTT, PSTR("Retained are not supported by AWS IoT, using retained = false."));
|
||||
}
|
||||
retained = false; // AWS IoT does not support retained, it will disconnect if received
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue