mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 15:33:51 +00:00
Removed warnings
This commit is contained in:
parent
c00d00cac2
commit
6d445631f0
10 changed files with 23 additions and 20 deletions
|
|
@ -80,14 +80,14 @@ void TraceExportDialog::on_buttonBox_accepted()
|
|||
}
|
||||
t.AddDatapoint(tData);
|
||||
}
|
||||
Touchstone::Unit unit;
|
||||
Touchstone::Unit unit = Touchstone::Unit::GHz;
|
||||
switch(ui->cUnit->currentIndex()) {
|
||||
case 0: unit = Touchstone::Unit::Hz; break;
|
||||
case 1: unit = Touchstone::Unit::kHz; break;
|
||||
case 2: unit = Touchstone::Unit::MHz; break;
|
||||
case 3: unit = Touchstone::Unit::GHz; break;
|
||||
}
|
||||
Touchstone::Format format;
|
||||
Touchstone::Format format = Touchstone::Format::RealImaginary;
|
||||
switch(ui->cFormat->currentIndex()) {
|
||||
case 0: format = Touchstone::Format::DBAngle; break;
|
||||
case 1: format = Touchstone::Format::MagnitudeAngle; break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue