It seems a call to FpgaDownloadAndGo() powers the antenna.

Solution:  Turn off antenna afterwards
This commit is contained in:
iceman1001 2017-11-30 08:27:31 +01:00
commit 430c6b4b79

View file

@ -1152,6 +1152,8 @@ void __attribute__((noreturn)) AppMain(void) {
// Load the FPGA image, which we have stored in our flash. // Load the FPGA image, which we have stored in our flash.
// (the HF version by default) // (the HF version by default)
FpgaDownloadAndGo(FPGA_BITSTREAM_HF); FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
// turn off antenna
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
StartTickCount(); StartTickCount();