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:
kuzl
2015-09-17 17:07:19 +00:00
parent 153e5850fa
commit ae32ae506d

View File

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