Skip to content

Commit

Permalink
fix(spiram): Fix OPI PSRAM init (#10406)
Browse files Browse the repository at this point in the history
  • Loading branch information
me-no-dev authored Oct 2, 2024
1 parent 473b851 commit ea50cf6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cores/esp32/esp32-hal-misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,11 @@ extern bool btInUse();
#endif

#if CONFIG_SPIRAM_SUPPORT || CONFIG_SPIRAM
#ifndef CONFIG_SPIRAM_BOOT_INIT
ESP_SYSTEM_INIT_FN(init_psram_new, 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)
Expand Down

0 comments on commit ea50cf6

Please sign in to comment.