possible fix for stuck MQTT handler.

This commit is contained in:
Thomas Göttgens
2022-10-18 21:51:40 +02:00
parent c1381b9ebd
commit ea87193c8f
2 changed files with 4 additions and 4 deletions

View File

@@ -58,7 +58,7 @@ class MQTT : private concurrency::OSThread
void onPublish(char *topic, byte *payload, unsigned int length);
/// Called when a new publish arrives from the MQTT server
String downstreamPacketToJson(MeshPacket *mp);
std::string downstreamPacketToJson(MeshPacket *mp);
/// Return 0 if sleep is okay, veto sleep if we are connected to pubsub server
// int preflightSleepCb(void *unused = NULL) { return pubSub.connected() ? 1 : 0; }