From 9ee9ad813ef089237a2345c2a35a34b76fda4dd2 Mon Sep 17 00:00:00 2001 From: Lazar Obradovic Date: Wed, 11 Apr 2018 13:37:30 +0200 Subject: [PATCH] WIFI params should be defined --- code/espurna/config/general.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/espurna/config/general.h b/code/espurna/config/general.h index f6147e31..1dee94d3 100644 --- a/code/espurna/config/general.h +++ b/code/espurna/config/general.h @@ -398,6 +398,7 @@ PROGMEM const char* const custom_reset_string[] = { // Optional hardcoded configuration (up to 2 networks) #ifndef WIFI1_SSID #define WIFI1_SSID "" +#endif #ifndef WIFI1_PASS #define WIFI1_PASS "" @@ -419,10 +420,9 @@ PROGMEM const char* const custom_reset_string[] = { #define WIFI1_DNS "" #endif -#endif // WIFI1 - #ifndef WIFI2_SSID #define WIFI2_SSID "" +#endif #ifndef WIFI2_PASS #define WIFI2_PASS "" @@ -444,8 +444,6 @@ PROGMEM const char* const custom_reset_string[] = { #define WIFI2_DNS "" #endif -#endif // WIFI2 - #ifndef WIFI_RSSI_1M #define WIFI_RSSI_1M -30 // Calibrate it with your router reading the RSSI at 1m #endif