mirror of
https://github.com/timmbogner/Farm-Data-Relay-System
synced 2024-11-10 07:10:42 +00:00
move overload method
This commit is contained in:
parent
e867cbc9e7
commit
c49fe47bd8
@ -189,9 +189,6 @@ void logToSD() {
|
||||
logfile.close();
|
||||
#endif
|
||||
}
|
||||
void reconnect(int attempts){
|
||||
reconnect(attempts, false);
|
||||
}
|
||||
void reconnect(int attempts, bool silent) {
|
||||
#ifdef USE_WIFI
|
||||
|
||||
@ -219,6 +216,9 @@ void reconnect(int attempts, bool silent) {
|
||||
if(!silent) DBG(" Connecting MQTT failed.");
|
||||
#endif
|
||||
}
|
||||
void reconnect(int attempts){
|
||||
reconnect(attempts, false);
|
||||
}
|
||||
void mqtt_callback(char* topic, byte * message, unsigned int length) {
|
||||
String incomingString;
|
||||
DBG(topic);
|
||||
|
Loading…
Reference in New Issue
Block a user