Skip to content

Commit cf524b4

Browse files
committed
fix(psram): fix wrong mpll freq
1 parent 569f97d commit cf524b4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

components/esp_psram/device/esp_psram_impl_ap_hex.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@
5454
#define AP_HEX_PSRAM_CS_ECC_HOLD_TIME 4
5555
#define AP_HEX_PSRAM_CS_HOLD_DELAY 3
5656

57-
#if CONFIG_SPIRAM_SPEED_200M
58-
#define AP_HEX_PSRAM_MPLL_DEFAULT_FREQ_MHZ 500
59-
#elif CONFIG_SPIRAM_SPEED_80M
57+
#if CONFIG_SPIRAM_SPEED_80M
6058
#define AP_HEX_PSRAM_MPLL_DEFAULT_FREQ_MHZ 320
6159
#else
6260
#define AP_HEX_PSRAM_MPLL_DEFAULT_FREQ_MHZ 400

0 commit comments

Comments
 (0)