98_LW12.pm: fixed Warning line 478
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9268 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -475,7 +475,7 @@ sub LW12_updateStatus( $ ) {
|
||||
return if IsDisabled($name);
|
||||
|
||||
my $res = LW12_Write( $hash, "\x{EF}\x{01}\x{77}" );
|
||||
if ($res != 0){
|
||||
if (hex($res) != 0){
|
||||
$res = uc($res);
|
||||
my @colors = ( $res =~ m/..?/g );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user