main: run UDP loop also in access point mode

This commit is contained in:
Thomas Kolb 2019-12-02 20:41:29 +01:00
parent 48089dd526
commit 72d0233f52

View file

@ -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();
} }