Hardfault handler + FPGA abort/interrupt collision fix

This commit is contained in:
Jan Käberich 2022-11-19 15:46:17 +01:00
parent 5536d3b89b
commit 6e5f2635d1
6 changed files with 158 additions and 15 deletions

View file

@ -236,6 +236,7 @@ void HW::SetIdle() {
Trigger::SetInput(false);
FPGA::AbortSweep();
FPGA::SetMode(FPGA::Mode::FPGA);
FPGA::DisableAllInterrupts();
FPGA::DisableHardwareOverwrite();
FPGA::Enable(FPGA::Periphery::SourceChip, false);
FPGA::Enable(FPGA::Periphery::SourceRF, false);