mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-22 14:13:42 -07:00
Update appmain.c
It seems a call to FpgaDownloadAndGo() powers the antenna. Solution: Turn off antenna afterwards
This commit is contained in:
parent
653e5ed3ca
commit
17355e0f69
1 changed files with 4 additions and 2 deletions
|
@ -1416,6 +1416,8 @@ void __attribute__((noreturn)) AppMain(void)
|
|||
// Load the FPGA image, which we have stored in our flash.
|
||||
// (the HF version by default)
|
||||
FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
|
||||
// turn off antenna
|
||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||
|
||||
StartTickCount();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue