This commit is contained in:
Thomas Göttgens 2023-03-06 12:47:29 +01:00
parent 8e197fc35b
commit 5044169e8d

View File

@ -30,12 +30,14 @@ class MQTT : private concurrency::OSThread
#if HAS_ETHERNET #if HAS_ETHERNET
EthernetClient mqttClient; EthernetClient mqttClient;
#endif #endif
#if !defined(DEBUG_HEAP_MQTT)
PubSubClient pubSub; PubSubClient pubSub;
// instead we supress sleep from our runOnce() callback
// CallbackObserver<MQTT, void *> preflightSleepObserver = CallbackObserver<MQTT, void *>(this, &MQTT::preflightSleepCb);
public: public:
#else
public:
PubSubClient pubSub;
#endif
MQTT(); MQTT();
/** /**