From a78878865d04deae67b168d23321860c35276ac0 Mon Sep 17 00:00:00 2001 From: Merlin Schumacher Date: Thu, 16 May 2019 16:12:09 +0200 Subject: [PATCH] fixed variable typo in wifi.h --- src/wifi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wifi.h b/src/wifi.h index 226e4f8..026b0c1 100644 --- a/src/wifi.h +++ b/src/wifi.h @@ -45,6 +45,6 @@ void wifiSetup(bool onDemand = false) { strcpy(mqtt_port, custom_mqtt_port.getValue()); strcpy(mqtt_user, custom_mqtt_user.getValue()); strcpy(mqtt_password, custom_mqtt_password.getValue()); - strcpy(mqtt_password, custom_mqtt_topic.getValue()); + strcpy(mqtt_topic, custom_mqtt_topic.getValue()); strcpy(mqtt_fingerprint, custom_mqtt_fingerprint.getValue()); }