diff --git a/armsrc/fpgaloader.c b/armsrc/fpgaloader.c index 384ec236c..e1c313414 100644 --- a/armsrc/fpgaloader.c +++ b/armsrc/fpgaloader.c @@ -630,6 +630,10 @@ int FpgaGetCurrent(void) { return downloaded_bitstream; } +void FpgaResetBitstream(void) { + downloaded_bitstream = FPGA_BITSTREAM_UNKNOWN; +} + // Turns off the antenna, // log message // if HF, Disable SSC DMA diff --git a/armsrc/fpgaloader.h b/armsrc/fpgaloader.h index 0786e608c..05fed4b1a 100644 --- a/armsrc/fpgaloader.h +++ b/armsrc/fpgaloader.h @@ -172,6 +172,7 @@ void SetupSpi(int mode); bool FpgaSetupSscDma(uint8_t *buf, uint16_t len); void Fpga_print_status(void); int FpgaGetCurrent(void); +void FpgaResetBitstream(void); void SetAdcMuxFor(uint32_t whichGpio); // extern and generel turn off the antenna method