Skip to content

Commit

Permalink
time_helper debug cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gojimmypi committed Dec 29, 2023
1 parent e84cd85 commit 5062f11
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,17 +248,13 @@ int set_time(void)

ESP_LOGI(TAG, "Setting the time. Startup time:");
esp_show_current_datetime();
// ESP_LOGI(TAG, "return.");
// return ESP_OK; /* TODO */

#ifdef LIBWOLFSSL_VERSION_GIT_HASH_DATE
/* initialy set a default approximate time from recent git commit */
ESP_LOGI(TAG, "Found git hash date, attempting to set system date.");
set_time_from_string(LIBWOLFSSL_VERSION_GIT_HASH_DATE);
ESP_LOGI(TAG, "esp_show_current_datetime.");
esp_show_current_datetime();


ret = -4;
#else
/* otherwise set a fixed time that was hard coded */
Expand Down

0 comments on commit 5062f11

Please sign in to comment.