WIFI: added log for wifi test, increased timeout
This commit is contained in:
parent
5249d33c1f
commit
38aa21fd15
1 changed files with 2 additions and 1 deletions
|
@ -287,7 +287,8 @@ static void wifi_connect_by_bssid(uint8_t *bssid)
|
|||
|
||||
TEST_ESP_OK(esp_wifi_set_config(WIFI_IF_STA, &w_config));
|
||||
TEST_ESP_OK(esp_wifi_connect());
|
||||
bits = xEventGroupWaitBits(wifi_events, GOT_IP_EVENT, 1, 0, 5000/portTICK_RATE_MS);
|
||||
ESP_LOGI(TAG, "called esp_wifi_connect()");
|
||||
bits = xEventGroupWaitBits(wifi_events, GOT_IP_EVENT, 1, 0, 7000/portTICK_RATE_MS);
|
||||
TEST_ASSERT(bits == GOT_IP_EVENT);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue