Fix bug that prevented direct tty name like /dev/ttyUSB0:device:t1 to work.

pull/729/head
Fredrik Öhrström 2022-12-05 22:49:31 +01:00
rodzic 34b0cc511a
commit 236371657a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -426,7 +426,7 @@ void BusManager::detectAndConfigureWmbusDevices(Configuration *config, Detection
specified_device.handled = true;
continue;
}
if (specified_device.file != "" && dt == DetectionType::STDIN_FILE_SIMULATION)
if (specified_device.file != "")
{
shared_ptr<SerialDevice> sd = serial_manager_->lookup(specified_device.file);
if (sd != NULL)