sforkowany z mirror/meshtastic-firmware
fixes #2330
rodzic
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();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue