main/task_wifi.c

changeset 24
74609f70411e
parent 23
2cc30d828d6e
child 35
9827c5a08c63
--- a/main/task_wifi.c	Tue Apr 11 19:41:53 2023 +0200
+++ b/main/task_wifi.c	Wed Apr 12 16:23:02 2023 +0200
@@ -222,7 +222,7 @@
 
 void task_wifi( void * pvParameters )
 {
-    uint64_t starttime = 0;
+//    uint64_t starttime = 0;
 
     ESP_LOGI(TAG, "Starting WiFi task");
     esp_log_level_set("wifi", ESP_LOG_ERROR);
@@ -267,12 +267,12 @@
 	     * Finally: release the request bit
 	     */
 	    xEventGroupClearBits(xEventGroupWifi, TASK_WIFI_REQUEST_STA_DISCONNECT);
-	    ESP_LOGI(TAG, "Connection time %llu", (esp_timer_get_time() / 1000) - starttime);
+//	    ESP_LOGI(TAG, "Connection time %llu", (esp_timer_get_time() / 1000) - starttime);
 
 	} else if (uxBits & TASK_WIFI_REQUEST_STA_CONNECT) {
 
 	    ESP_LOGI(TAG, "Request STA connect `%s' `%s'", ESP_WIFI_SSID, ESP_WIFI_PASS);
-	    starttime = esp_timer_get_time() / 1000;
+//	    starttime = esp_timer_get_time() / 1000;
 	    wifi_connect();
 
 	    /*

mercurial