Skip to content

Commit 025de03

Browse files
committed
【修复】sdram 初始化时间过长的问题
1 parent a36e77d commit 025de03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/drivers/drv_sdram.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static void SDRAM_Initialization_Sequence(SDRAM_HandleTypeDef *hsdram, FMC_SDRAM
5151

5252
/* Insert 100 ms delay */
5353
/* interrupt is not enable, just to delay some time. */
54-
for (tmpmrd = 0; tmpmrd < 0xffffff; tmpmrd ++)
54+
for (tmpmrd = 0; tmpmrd < 0xffff; tmpmrd ++)
5555
;
5656

5757
/* Configure a PALL (precharge all) command */

0 commit comments

Comments
 (0)