используем везде isNetworkActive()

This commit is contained in:
DmitriyTychina
2023-09-03 19:33:40 +03:00
parent 646128b999
commit 93dfa8ee83
7 changed files with 8 additions and 8 deletions

View File

@@ -121,7 +121,7 @@ boolean RouterFind(String ssid) {
uint8_t RSSIquality() {
uint8_t res = 0;
if (WiFi.status() == WL_CONNECTED) {
if (isNetworkActive()) {
int rssi = WiFi.RSSI();
if (rssi >= -50) {
res = 6; //"Excellent";