move overload method

This commit is contained in:
theFeiter 2022-07-06 15:38:56 +02:00
parent e867cbc9e7
commit c49fe47bd8

View File

@ -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);