Skip to content

Commit ea50cf6

Browse files
authored
fix(spiram): Fix OPI PSRAM init (#10406)
1 parent 473b851 commit ea50cf6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cores/esp32/esp32-hal-misc.c

-2
Original file line numberDiff line numberDiff line change
@@ -251,13 +251,11 @@ extern bool btInUse();
251251
#endif
252252

253253
#if CONFIG_SPIRAM_SUPPORT || CONFIG_SPIRAM
254-
#ifndef CONFIG_SPIRAM_BOOT_INIT
255254
ESP_SYSTEM_INIT_FN(init_psram_new, BIT(0), 99) {
256255
psramInit();
257256
return ESP_OK;
258257
}
259258
#endif
260-
#endif
261259

262260
void initArduino() {
263261
//init proper ref tick value for PLL (uncomment if REF_TICK is different than 1MHz)

0 commit comments

Comments
 (0)