Removed unused variable.

This commit is contained in:
2020-12-15 20:56:44 +01:00
parent 2fb3c98097
commit 794b733f48

View File

@ -47,7 +47,7 @@ const char *mqtt_server = "portbuild.home.oav.net";
#define mqtt_port 1883
// configuration values
char cfg_mqtt_server[40];
//char cfg_mqtt_server[40];
char idx_windir[4]="48";
char idx_temp[4] ="52";
char idx_rain[4] ="51";
@ -771,7 +771,7 @@ void setupSpiffs(){
strcpy(idx_windir, json["idx_windir"]);
strcpy(idx_temp, json["idx_temp"]);
strcpy(idx_rain, json["idex_rain"]);
Serial.printf("Server : %s, idx (wind/temp/rain) : %s/%s/%s\n", cfg_mqtt_server, idx_windir, idx_temp, idx_rain);
//Serial.printf("Server : %s, idx (wind/temp/rain) : %s/%s/%s\n", cfg_mqtt_server, idx_windir, idx_temp, idx_rain);
} else {
Serial.println("failed to load json config");
}