mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 15:33:51 +00:00
detect missing points + minor USB speedup
This commit is contained in:
parent
764e8b8692
commit
ef97d54913
22 changed files with 577 additions and 1448 deletions
|
|
@ -219,15 +219,15 @@ void App_Start() {
|
|||
}
|
||||
}
|
||||
|
||||
if(sweepActive && HAL_GetTick() - lastNewPoint > 1000) {
|
||||
LOG_WARN("Timed out waiting for point, last received point was %d (Status 0x%04x)", lastPoint, FPGA::GetStatus());
|
||||
FPGA::AbortSweep();
|
||||
// restart the current sweep
|
||||
HW::Init();
|
||||
HW::Ref::update();
|
||||
VNA::Setup(settings, VNACallback);
|
||||
sweepActive = true;
|
||||
lastNewPoint = HAL_GetTick();
|
||||
}
|
||||
// if(sweepActive && HAL_GetTick() - lastNewPoint > 1000) {
|
||||
// LOG_WARN("Timed out waiting for point, last received point was %d (Status 0x%04x)", lastPoint, FPGA::GetStatus());
|
||||
// FPGA::AbortSweep();
|
||||
// // restart the current sweep
|
||||
// HW::Init();
|
||||
// HW::Ref::update();
|
||||
// VNA::Setup(settings, VNACallback);
|
||||
// sweepActive = true;
|
||||
// lastNewPoint = HAL_GetTick();
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue