From: iceman1001 Date: Wed, 19 Oct 2016 22:40:56 +0000 (+0200) Subject: CHG: removed CLOCK2, since its not used in the code. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/f4d7d1fed17809ea9d7b919bd32265d2b6cc895f CHG: removed CLOCK2, since its not used in the code. --- diff --git a/armsrc/pcf7931.c b/armsrc/pcf7931.c index 1348907b..58fd5099 100644 --- a/armsrc/pcf7931.c +++ b/armsrc/pcf7931.c @@ -402,7 +402,7 @@ void SendCmdPCF7931(uint32_t * tab){ AT91C_BASE_PIOA->PIO_OER = GPIO_SSC_DOUT; //initialization of the timer - AT91C_BASE_PMC->PMC_PCER |= (0x1 << 12) | (0x1 << 13) | (0x1 << 14); + AT91C_BASE_PMC->PMC_PCER |= (0x1 << AT91C_ID_TC0); AT91C_BASE_TCB->TCB_BMR = AT91C_TCB_TC0XC0S_NONE | AT91C_TCB_TC1XC1S_TIOA0 | AT91C_TCB_TC2XC2S_NONE; AT91C_BASE_TC0->TC_CCR = AT91C_TC_CLKDIS; // timer disable AT91C_BASE_TC0->TC_CMR = AT91C_TC_CLKS_TIMER_DIV3_CLOCK; //clock at 48/32 MHz