get standadlone working with espMqttClient

This commit is contained in:
Proddy
2023-07-14 12:11:48 +02:00
parent 1b623014c1
commit f3d3a386ee
5 changed files with 33 additions and 18 deletions

View File

@@ -104,11 +104,7 @@ class Mqtt {
#endif
static bool connected() {
#if defined(EMSESP_STANDALONE)
return true;
#else
return mqttClient_->connected();
#endif
}
static MqttClient * client() {