mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-21 06:13:41 +00:00
Removed warnings
This commit is contained in:
parent
c00d00cac2
commit
6d445631f0
10 changed files with 23 additions and 20 deletions
|
|
@ -111,7 +111,7 @@ void ImpedanceMatchDialog::calculateMatch()
|
|||
// convert X and B to inductor and capacitor
|
||||
bool twoCs = false;
|
||||
bool twoLs = false;
|
||||
double L, C, C2, L2;
|
||||
double L = 0, C = 0, C2 = 0, L2 = 0;
|
||||
if(X >= 0) {
|
||||
L = X/(2*M_PI*freq);
|
||||
if(B > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue