main: run UDP loop also in access point mode
This commit is contained in:
parent
48089dd526
commit
72d0233f52
|
@ -90,7 +90,7 @@ static void ledTask( void * parameter )
|
||||||
|
|
||||||
uint32_t start_time = micros();
|
uint32_t start_time = micros();
|
||||||
|
|
||||||
if(WiFi.status() == WL_CONNECTED) {
|
if((WiFi.status() == WL_CONNECTED) || (WiFi.getMode() == WIFI_MODE_AP)) {
|
||||||
udpProto.loop();
|
udpProto.loop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue