Skip to content

Commit 50903ba

Browse files
authored
Merge pull request #110 from whj4674672/master
【修复】sdram 初始化时间过长的问题
2 parents a36e77d + 025de03 commit 50903ba

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)