]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/fpgaloader.c
FIX: lf sim, seems like "lf sim" call SimulateTagLowFrequency direct from appmain...
[proxmark3-svn] / armsrc / fpgaloader.c
index 86f144cfefd6a5c43b7ad7301442bbf1b29432c0..08a3866340f6229ab5a3f7b304cefaa25336a8ea 100644 (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;
Impressum, Datenschutz