kopia lustrzana https://github.com/weetmuts/wmbusmeters
Fix bug that prevented direct tty name like /dev/ttyUSB0:device:t1 to work.
rodzic
34b0cc511a
commit
236371657a
|
@ -426,7 +426,7 @@ void BusManager::detectAndConfigureWmbusDevices(Configuration *config, Detection
|
||||||
specified_device.handled = true;
|
specified_device.handled = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (specified_device.file != "" && dt == DetectionType::STDIN_FILE_SIMULATION)
|
if (specified_device.file != "")
|
||||||
{
|
{
|
||||||
shared_ptr<SerialDevice> sd = serial_manager_->lookup(specified_device.file);
|
shared_ptr<SerialDevice> sd = serial_manager_->lookup(specified_device.file);
|
||||||
if (sd != NULL)
|
if (sd != NULL)
|
||||||
|
|
Ładowanie…
Reference in New Issue