fix: no more powered antenna when swapping fpga images.

This commit is contained in:
iceman1001 2017-11-30 10:28:59 +01:00
commit 5614066a4e
2 changed files with 3 additions and 3 deletions

View file

@ -406,6 +406,9 @@ void FpgaDownloadAndGo(int bitstream_version) {
inflateEnd(&compressed_fpga_stream);
// turn off antenna
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
// free eventually allocated BigBuf memory
BigBuf_free(); BigBuf_Clear_ext(false);
}