mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 17:36:01 +00:00
98_LW12.pm: fixed Warning line 478
git-svn-id: https://svn.fhem.de/fhem/trunk@9268 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1bdd55b8d1
commit
d75212faf6
@ -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 );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user