mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
Bugfix: only enable highband source once per sweep
This commit is contained in:
parent
c1f131b6d7
commit
d32f7a61ee
3 changed files with 10 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ void VNA::SweepHalted() {
|
|||
Si5351.Enable(SiChannel::LowbandSource);
|
||||
FPGA::Disable(FPGA::Periphery::SourceRF);
|
||||
}
|
||||
} else {
|
||||
} else if(!FPGA::IsEnabled(FPGA::Periphery::SourceRF)){
|
||||
// first sweep point in highband is also halted, disable lowband source
|
||||
Si5351.Disable(SiChannel::LowbandSource);
|
||||
FPGA::Enable(FPGA::Periphery::SourceRF);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue