diff --git a/SD_CARD/BaS_gcc/.cproject b/SD_CARD/BaS_gcc/.cproject index 9d6a853..c19c953 100644 --- a/SD_CARD/BaS_gcc/.cproject +++ b/SD_CARD/BaS_gcc/.cproject @@ -320,6 +320,8 @@ + + @@ -654,6 +656,8 @@ + + diff --git a/SD_CARD/BaS_gcc/sources/sysinit.c b/SD_CARD/BaS_gcc/sources/sysinit.c index 6d3c847..ed369c2 100644 --- a/SD_CARD/BaS_gcc/sources/sysinit.c +++ b/SD_CARD/BaS_gcc/sources/sysinit.c @@ -328,10 +328,11 @@ void wait_pll(void) } while ((* (volatile int16_t *) 0xf0000800 < 0) && MCF_SLT0_SCNT > trgt); } -static volatile uint8_t *pll_base = (volatile uint8_t *) 0xf0000600; void init_pll(void) { + static volatile uint8_t *pll_base = (volatile uint8_t *) 0xf0000600; + xprintf("FPGA PLL initialization: "); wait_pll();