X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/d6e1d482844d6979533250dedc3724ce14f80294..e6158a48ecc4dbd344604fcb562315931c68d2ff:/armsrc/appmain.c diff --git a/armsrc/appmain.c b/armsrc/appmain.c index 4f0a19b9..56bf67e0 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -1467,13 +1467,13 @@ void __attribute__((noreturn)) AppMain(void) { // Reset SPI AT91C_BASE_SPI->SPI_CR = AT91C_SPI_SWRST; + AT91C_BASE_SPI->SPI_CR = AT91C_SPI_SWRST; // required twice on some AT91SAM Revisions (see Errata in AT91SAM datasheet) // Reset SSC AT91C_BASE_SSC->SSC_CR = AT91C_SSC_SWRST; - // Load the FPGA image, which we have stored in our flash. - // (the HF version by default) + // Load the FPGA image, which we have stored in our flash (HF version by default) FpgaDownloadAndGo(FPGA_BITSTREAM_HF); - + StartTickCount(); #ifdef WITH_LCD