mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-01-04 15:50:13 +01:00
Clear old VNA data when starting new sweep
This commit is contained in:
parent
6901278185
commit
1c09b8e1cb
|
|
@ -109,6 +109,7 @@ static bool needs2LOshift(uint64_t f, uint32_t current2LO, uint32_t IFBW, uint32
|
|||
bool VNA::Setup(Protocol::SweepSettings s) {
|
||||
VNA::Stop();
|
||||
vTaskDelay(5);
|
||||
data.clear();
|
||||
HW::SetMode(HW::Mode::VNA);
|
||||
// Abort possible active sweep first
|
||||
FPGA::SetMode(FPGA::Mode::FPGA);
|
||||
|
|
|
|||
Loading…
Reference in a new issue