mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
refactor(esp_libc): move newlib time init into esp_libc component
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
#include "esp_check.h"
|
||||
#include "esp_system.h"
|
||||
#include "esp_log.h"
|
||||
#include "esp_newlib.h"
|
||||
#include "esp_xt_wdt.h"
|
||||
#include "esp_cpu.h"
|
||||
#include "esp_private/startup_internal.h"
|
||||
@@ -91,12 +90,6 @@ ESP_SYSTEM_INIT_FN(init_brownout, CORE, BIT(0), 105)
|
||||
}
|
||||
#endif
|
||||
|
||||
ESP_SYSTEM_INIT_FN(init_newlib_time, CORE, BIT(0), 106)
|
||||
{
|
||||
esp_libc_time_init();
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
#if CONFIG_ESP_XT_WDT
|
||||
ESP_SYSTEM_INIT_FN(init_xt_wdt, CORE, BIT(0), 170)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user