Fix tests

This commit is contained in:
Jan Käberich 2024-12-02 12:10:13 +01:00
parent 82e215881a
commit b95e966041
4 changed files with 11 additions and 6 deletions

View file

@ -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);