forked from airgradienthq/arduino
fix: wifi not connect if LED test with button request
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user