Removed unused variable.
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user