change defs

This commit is contained in:
Shawn A
2018-02-23 23:44:36 -06:00
parent f210000c94
commit 6749122eed
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -853,7 +853,7 @@ String WiFiManager::getScanItemOut(){
if(tok_R) item.replace(FPSTR(T_R), (String)WiFi.RSSI(indices[i])); // rssi db
if(tok_q) item.replace(FPSTR(T_q), (String)round(map(rssiperc,0,100,1,4))); //quality icon 1-4
if(tok_i){
if (enc_type != WIFI_AUTH_OPEN) {
if (enc_type != WM_WIFIOPEN) {
item.replace(FPSTR(T_i), F("l"));
} else {
item.replace(FPSTR(T_i), "");
+2 -2
View File
@@ -30,7 +30,7 @@
#endif
#define WIFI_getChipId() ESP.getChipId()
#define WIFI_AUTH_OPEN ENC_TYPE_NONE
#define WM_WIFIOPEN ENC_TYPE_NONE
#elif defined(ESP32)
@@ -38,7 +38,7 @@
#include <esp_wifi.h>
#define WIFI_getChipId() (uint32_t)ESP.getEfuseMac()
#define WIFI_AUTH_OPEN WIFI_AUTH_OPEN
#define WM_WIFIOPEN WIFI_AUTH_OPEN
#ifndef WEBSERVER_H
#warning "WEBSERVER not implemented in espressif/esp32, see readme notes"