mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 15:33:51 +00:00
Fix tests
This commit is contained in:
parent
82e215881a
commit
b95e966041
4 changed files with 11 additions and 6 deletions
|
|
@ -537,10 +537,9 @@ void AppWindow::SetupSCPI()
|
|||
}, nullptr, false));
|
||||
scpi_dev->add(new SCPICommand("LIST", nullptr, [=](QStringList) -> QString {
|
||||
QString ret;
|
||||
for(auto driver : DeviceDriver::getDrivers()) {
|
||||
for(auto d : driver->GetAvailableDevices()) {
|
||||
ret += d + ",";
|
||||
}
|
||||
UpdateDeviceList();
|
||||
for(auto entry : deviceList) {
|
||||
ret += entry.serial + ",";
|
||||
}
|
||||
// remove last comma
|
||||
ret.chop(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue