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
parent 6e144e0121
commit 430c6b4b79

View File

@@ -1152,7 +1152,9 @@ 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();