From cf524b41a2949e2958c399c1364dca5b8be171b4 Mon Sep 17 00:00:00 2001 From: armando Date: Mon, 24 Mar 2025 15:02:37 +0800 Subject: [PATCH] fix(psram): fix wrong mpll freq --- components/esp_psram/device/esp_psram_impl_ap_hex.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/esp_psram/device/esp_psram_impl_ap_hex.c b/components/esp_psram/device/esp_psram_impl_ap_hex.c index f5cc5c7a99..ba8e33615d 100644 --- a/components/esp_psram/device/esp_psram_impl_ap_hex.c +++ b/components/esp_psram/device/esp_psram_impl_ap_hex.c @@ -54,9 +54,7 @@ #define AP_HEX_PSRAM_CS_ECC_HOLD_TIME 4 #define AP_HEX_PSRAM_CS_HOLD_DELAY 3 -#if CONFIG_SPIRAM_SPEED_200M -#define AP_HEX_PSRAM_MPLL_DEFAULT_FREQ_MHZ 500 -#elif CONFIG_SPIRAM_SPEED_80M +#if CONFIG_SPIRAM_SPEED_80M #define AP_HEX_PSRAM_MPLL_DEFAULT_FREQ_MHZ 320 #else #define AP_HEX_PSRAM_MPLL_DEFAULT_FREQ_MHZ 400