From 430c6b4b797c06726dc34591e11523520595ad0c Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 30 Nov 2017 08:27:31 +0100 Subject: [PATCH] It seems a call to FpgaDownloadAndGo() powers the antenna. Solution: Turn off antenna afterwards --- armsrc/appmain.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/armsrc/appmain.c b/armsrc/appmain.c index acfe4356b..aa898c904 100644 --- a/armsrc/appmain.c +++ b/armsrc/appmain.c @@ -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();