mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 22:17:31 +00:00
Removed warnings
This commit is contained in:
parent
3f7fb99f58
commit
532702f7fb
43 changed files with 191 additions and 142 deletions
|
|
@ -1020,7 +1020,7 @@ void SpectrumAnalyzer::SetupSCPI()
|
|||
unsigned long long newval;
|
||||
if(!SCPI::paramToULongLong(params, 0, newval)) {
|
||||
return SCPI::getResultName(SCPI::Result::Error);
|
||||
} else if(newval >= 0 && newval <= VirtualDevice::getInfo(window->getDevice()).ports){
|
||||
} else if(newval <= VirtualDevice::getInfo(window->getDevice()).ports){
|
||||
SetTGPort(newval);
|
||||
return SCPI::getResultName(SCPI::Result::Empty);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue