mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 06:13:27 -07:00
Update appmain.c
remove redundant code.
This commit is contained in:
parent
79d5d9d1c6
commit
0c9b68b9e8
1 changed files with 1 additions and 17 deletions
|
@ -1409,23 +1409,7 @@ void __attribute__((noreturn)) AppMain(void)
|
|||
AT91C_BASE_SSC->SSC_CR = AT91C_SSC_SWRST;
|
||||
|
||||
// Configure MUX
|
||||
AT91C_BASE_PIOA->PIO_OER =
|
||||
GPIO_MUXSEL_HIPKD |
|
||||
GPIO_MUXSEL_LOPKD |
|
||||
GPIO_MUXSEL_LORAW |
|
||||
GPIO_MUXSEL_HIRAW;
|
||||
|
||||
AT91C_BASE_PIOA->PIO_PER =
|
||||
GPIO_MUXSEL_HIPKD |
|
||||
GPIO_MUXSEL_LOPKD |
|
||||
GPIO_MUXSEL_LORAW |
|
||||
GPIO_MUXSEL_HIRAW;
|
||||
|
||||
// set pins LOW
|
||||
LOW(GPIO_MUXSEL_HIPKD);
|
||||
LOW(GPIO_MUXSEL_LOPKD);
|
||||
LOW(GPIO_MUXSEL_HIRAW);
|
||||
LOW(GPIO_MUXSEL_LORAW);
|
||||
SetAdcMuxFor(0);
|
||||
|
||||
// Load the FPGA image, which we have stored in our flash.
|
||||
// (the HF version by default)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue