Improve behaviour on full USB buffer

This commit is contained in:
Jan Käberich 2021-09-24 22:21:38 +02:00
parent 4a374e022d
commit 0452d2472c
4 changed files with 18 additions and 2 deletions

View file

@ -231,6 +231,7 @@ void HW::SetIdle() {
FPGA::Enable(FPGA::Periphery::Port2Mixer, false);
FPGA::Enable(FPGA::Periphery::RefMixer, false);
FPGA::Enable(FPGA::Periphery::PortSwitch, false);
activeMode = Mode::Idle;
}
HW::AmplitudeSettings HW::GetAmplitudeSettings(int16_t cdbm, uint64_t freq, bool applyCorrections, bool port2) {