44_S7: Bugfixes

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

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