mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-19 01:11:31 +10:00
change defs
This commit is contained in:
+1
-1
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user