mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-01 19:35:42 +00:00
fixes #2330
This commit is contained in:
parent
8e197fc35b
commit
5044169e8d
@ -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();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user