]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/lfops.c
small updates to hf mf restore1k
[proxmark3-svn] / armsrc / lfops.c
index 7127bfdce407a4f9170dc95b78a0988dca6f80f5..21e068c16ab92e80901cbb3b13f3129c14636f30 100644 (file)
@@ -543,7 +543,7 @@ void SimulateTagLowFrequencyBidir(int divisor, int t0)
        AT91C_BASE_PMC->PMC_PCER = (1 << AT91C_ID_TC1);
        AT91C_BASE_PIOA->PIO_BSR = GPIO_SSC_FRAME;
        AT91C_BASE_TC1->TC_CCR = AT91C_TC_CLKDIS;
-       AT91C_BASE_TC1->TC_CMR =        TC_CMR_TCCLKS_TIMER_CLOCK1 |
+       AT91C_BASE_TC1->TC_CMR =        AT91C_TC_CLKS_TIMER_DIV1_CLOCK |
                                                                AT91C_TC_ETRGEDG_RISING |
                                                                AT91C_TC_ABETRG |
                                                                AT91C_TC_LDRA_RISING |
Impressum, Datenschutz