refactor(esp_libc): move newlib time init into esp_libc component

This commit is contained in:
Marius Vikhammer
2026-04-13 15:11:57 +08:00
parent 75f19ab4fd
commit ee50fa20e3
3 changed files with 8 additions and 9 deletions
-7
View File
@@ -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)
{