kopia lustrzana https://github.com/meshtastic/firmware
remove dead code
rodzic
276526005b
commit
c0cfd0bb41
|
@ -75,11 +75,6 @@ void MQTT::reconnect()
|
||||||
enabled = true; // Start running background process again
|
enabled = true; // Start running background process again
|
||||||
runASAP = true;
|
runASAP = true;
|
||||||
|
|
||||||
static char subsStr[64]; /* We keep this static because the mqtt lib
|
|
||||||
might not be copying it */
|
|
||||||
// snprintf(subsStr, sizeof(subsStr), "/ezd/todev/%s/#", clientId);
|
|
||||||
// pubSub.subscribe(subsStr, 1); // we use qos 1 because we don't want to miss messages
|
|
||||||
|
|
||||||
/// FIXME, include more information in the status text
|
/// FIXME, include more information in the status text
|
||||||
bool ok = pubSub.publish(myStatus.c_str(), "online", true);
|
bool ok = pubSub.publish(myStatus.c_str(), "online", true);
|
||||||
DEBUG_MSG("published %d\n", ok);
|
DEBUG_MSG("published %d\n", ok);
|
||||||
|
|
Ładowanie…
Reference in New Issue