mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 10:43:01 +08:00
revert back..
This commit is contained in:
parent
ee1612870c
commit
0520d42f3d
2 changed files with 4 additions and 4 deletions
|
@ -541,14 +541,13 @@ int FpgaGetCurrent() {
|
||||||
// log message
|
// log message
|
||||||
// if HF, Disable SSC DMA
|
// if HF, Disable SSC DMA
|
||||||
// turn off trace and leds off.
|
// turn off trace and leds off.
|
||||||
/*
|
|
||||||
void switch_off() {
|
void switch_off() {
|
||||||
if (MF_DBGLEVEL > 3) Dbprintf("switch_off");
|
if (MF_DBGLEVEL > 3) Dbprintf("switch_off");
|
||||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||||
SpinDelay(100);
|
//SpinDelay(100);
|
||||||
if (downloaded_bitstream == FPGA_BITSTREAM_HF )
|
if (downloaded_bitstream == FPGA_BITSTREAM_HF )
|
||||||
FpgaDisableSscDma();
|
FpgaDisableSscDma();
|
||||||
set_tracing(false);
|
set_tracing(false);
|
||||||
LEDsoff();
|
LEDsoff();
|
||||||
}
|
}
|
||||||
*/
|
|
|
@ -32,7 +32,8 @@ int FpgaGetCurrent();
|
||||||
#define FpgaEnableSscDma(void) AT91C_BASE_PDC_SSC->PDC_PTCR = AT91C_PDC_RXTEN;
|
#define FpgaEnableSscDma(void) AT91C_BASE_PDC_SSC->PDC_PTCR = AT91C_PDC_RXTEN;
|
||||||
void SetAdcMuxFor(uint32_t whichGpio);
|
void SetAdcMuxFor(uint32_t whichGpio);
|
||||||
|
|
||||||
//extern void switch_off();
|
// extern and generel turn off the antenna method
|
||||||
|
extern void switch_off();
|
||||||
|
|
||||||
// definitions for multiple FPGA config files support
|
// definitions for multiple FPGA config files support
|
||||||
#define FPGA_BITSTREAM_MAX 2 // the total number of FPGA bitstreams (configs)
|
#define FPGA_BITSTREAM_MAX 2 // the total number of FPGA bitstreams (configs)
|
||||||
|
|
Loading…
Reference in a new issue