Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3e93adc

Browse files
authoredOct 1, 2024··
fix(workwi): Return OK even if PSRAM init fails
1 parent 5a06dd9 commit 3e93adc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎cores/esp32/esp32-hal-misc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ extern bool btInUse();
253253
#if CONFIG_SPIRAM_SUPPORT || CONFIG_SPIRAM
254254
#ifndef CONFIG_SPIRAM_BOOT_INIT
255255
ESP_SYSTEM_INIT_FN(init_psram_new, BIT(0), 99) {
256-
return psramInit() ? ESP_OK : ESP_FAIL;
256+
psramInit();
257+
return ESP_OK;
257258
}
258259
#endif
259260
#endif

0 commit comments

Comments
 (0)
Please sign in to comment.