mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 06:13:27 -07:00
Merge 0c9b68b9e8
into a37725facf
This commit is contained in:
commit
c3de7d5d33
2 changed files with 5 additions and 1 deletions
|
@ -1408,6 +1408,9 @@ void __attribute__((noreturn)) AppMain(void)
|
|||
// Reset SSC
|
||||
AT91C_BASE_SSC->SSC_CR = AT91C_SSC_SWRST;
|
||||
|
||||
// Configure MUX
|
||||
SetAdcMuxFor(0);
|
||||
|
||||
// Load the FPGA image, which we have stored in our flash.
|
||||
// (the HF version by default)
|
||||
FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
|
||||
|
|
|
@ -558,6 +558,7 @@ void SetAdcMuxFor(uint32_t whichGpio)
|
|||
LOW(GPIO_MUXSEL_LORAW);
|
||||
LOW(GPIO_MUXSEL_LOPKD);
|
||||
|
||||
if (whichGpio > 0)
|
||||
HIGH(whichGpio);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue