Commit 604908af authored by Ray Jones's avatar Ray Jones
Browse files

OK, no errors now

No related merge requests found
Showing with 3 additions and 2 deletions
+3 -2
......@@ -43,7 +43,7 @@
#endif
void MqttCallback(char* topic, byte* payload, unsigned int length);
boolean MqttReconnect() {
bool MqttReconnect();
//char cmnd[50]; //Command holder
WiFiClient wclient;
......@@ -79,7 +79,8 @@ long lastReconnectAttempt = 0;
}
return client.connected();
}*/
bool MqttReconnect() {
bool MqttReconnect()
{
if (client.connect("Afterburner", NVstore.getMQTTinfo().username, NVstore.getMQTTinfo().password)) {
// Once connected, publish an announcement...
client.publish("outTopic", "hello world");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment