corrected initialization of slice timer 0

This commit is contained in:
Markus Fröschle
2012-10-31 14:12:34 +00:00
parent a344ad1f7e
commit b1f94d9228

View File

@@ -77,7 +77,7 @@ void init_slt(void)
{ {
xprintf("slice timer initialization: "); xprintf("slice timer initialization: ");
MCF_SLT0_STCNT = 0xffffffff; MCF_SLT0_STCNT = 0xffffffff;
MCF_SLT0_SCR = MCF_SLT_SCR_TEN | MCF_SLT_SCR_IEN | MCF_SLT_SCR_RUN; /* enable and run continuously */ MCF_SLT0_SCR = MCF_SLT_SCR_TEN | MCF_SLT_SCR_RUN; /* enable and run continuously */
xprintf("finished\r\n"); xprintf("finished\r\n");
} }