Browse Source

WIFI params should be defined

rfm69
Lazar Obradovic 6 years ago
parent
commit
9ee9ad813e
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      code/espurna/config/general.h

+ 2
- 4
code/espurna/config/general.h View File

@ -398,6 +398,7 @@ PROGMEM const char* const custom_reset_string[] = {
// Optional hardcoded configuration (up to 2 networks) // Optional hardcoded configuration (up to 2 networks)
#ifndef WIFI1_SSID #ifndef WIFI1_SSID
#define WIFI1_SSID "" #define WIFI1_SSID ""
#endif
#ifndef WIFI1_PASS #ifndef WIFI1_PASS
#define WIFI1_PASS "" #define WIFI1_PASS ""
@ -419,10 +420,9 @@ PROGMEM const char* const custom_reset_string[] = {
#define WIFI1_DNS "" #define WIFI1_DNS ""
#endif #endif
#endif // WIFI1
#ifndef WIFI2_SSID #ifndef WIFI2_SSID
#define WIFI2_SSID "" #define WIFI2_SSID ""
#endif
#ifndef WIFI2_PASS #ifndef WIFI2_PASS
#define WIFI2_PASS "" #define WIFI2_PASS ""
@ -444,8 +444,6 @@ PROGMEM const char* const custom_reset_string[] = {
#define WIFI2_DNS "" #define WIFI2_DNS ""
#endif #endif
#endif // WIFI2
#ifndef WIFI_RSSI_1M #ifndef WIFI_RSSI_1M
#define WIFI_RSSI_1M -30 // Calibrate it with your router reading the RSSI at 1m #define WIFI_RSSI_1M -30 // Calibrate it with your router reading the RSSI at 1m
#endif #endif


Loading…
Cancel
Save