44_S7: Bugfixes

git-svn-id: https://svn.fhem.de/fhem/trunk@15518 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
charlie71
2017-11-28 21:17:47 +00:00
parent e36ee2f3b1
commit cf8cd4eab8

View File

@@ -485,7 +485,7 @@ sub S5ConnectPLCAS511($$) {
#eval ("use Device::SerialPort;");
require Device::SerialPort;
$self->{serial} = new Device::SerialPort ($portName);
}
main::Log3( undef, 3, "Can't open serial port $portName" )
unless ( $self->{serial} );