fix: wifi not connect if LED test with button request

This commit is contained in:
Phat Nguyen
2024-02-18 10:59:01 +07:00
parent 589b98d97e
commit 26a8b065bc

View File

@ -643,10 +643,9 @@ void setup() {
} }
if (test) { if (test) {
ledTest(); ledTest();
} else {
/** WIFI connect */
connectToWifi();
} }
/** WIFI connect */
connectToWifi();
/** /**
* Send first data to ping server and get server configuration * Send first data to ping server and get server configuration