mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 23:13:43 +00:00
Improvements to time domain gate handling
This commit is contained in:
parent
3d4d3c9468
commit
2d13fdfe5e
4 changed files with 81 additions and 18 deletions
|
|
@ -160,6 +160,18 @@ void TDR::fromJSON(nlohmann::json j)
|
|||
}
|
||||
}
|
||||
|
||||
void TDR::setMode(Mode m)
|
||||
{
|
||||
if(mode == m) {
|
||||
// already set to correct mode
|
||||
return;
|
||||
}
|
||||
mode = m;
|
||||
if(input) {
|
||||
inputSamplesChanged(0, input->rData().size());
|
||||
}
|
||||
}
|
||||
|
||||
void TDR::inputSamplesChanged(unsigned int begin, unsigned int end)
|
||||
{
|
||||
Q_UNUSED(end);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue