CHG: Xoring in the value allows for the ticks timers to co-exist. Or that is the idea.

This commit is contained in:
iceman1001 committed 2016-10-19 21:23:03 +02:00
1 parent 4460be68c3
commit c3fc86d9af
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -126,7 +126,7 @@ void FpgaSetupSsc(void) {
GPIO_SSC_CLK;
AT91C_BASE_PIOA->PIO_PDR = GPIO_SSC_DOUT;
AT91C_BASE_PMC->PMC_PCER = (1 << AT91C_ID_SSC);
AT91C_BASE_PMC->PMC_PCER |= (1 << AT91C_ID_SSC);
// Now set up the SSC proper, starting from a known state.
AT91C_BASE_SSC->SSC_CR = AT91C_SSC_SWRST;