fix(spiram): Fix OPI PSRAM init

This commit is contained in:
me-no-dev 2024-10-02 19:26:33 +03:00
parent c5047286a1
commit c3aa74f60a

View file

@ -253,13 +253,11 @@ extern bool btInUse();
#endif
#if CONFIG_SPIRAM_SUPPORT || CONFIG_SPIRAM
#ifndef CONFIG_SPIRAM_BOOT_INIT
ESP_SYSTEM_INIT_FN(init_psram_new, CORE, BIT(0), 99) {
psramInit();
return ESP_OK;
}
#endif
#endif
void initArduino() {
//init proper ref tick value for PLL (uncomment if REF_TICK is different than 1MHz)