2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

11_FHT.pm: remove WARNING (Forum #125808)

git-svn-id: https://svn.fhem.de/fhem/trunk@25582 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-01-29 10:52:35 +00:00
parent 8f0d6f4c18
commit a3def8c8c2

View File

@ -705,7 +705,7 @@ getFhtBuffer($)
for(;;) { for(;;) {
return 0 if(!defined($io->{FD})); # Avoid crash if the CUL/FHZ is absent return 0 if(!defined($io->{FD})); # Avoid crash if the CUL/FHZ is absent
my $msg = CallFn($io->{NAME}, "GetFn", $io, (" ", "fhtbuf")); my $msg = CallFn($io->{NAME}, "GetFn", $io, (" ", "fhtbuf"));
Log3 $io, 5, "getFhtBuffer: $count $msg"; Log3 $io, 5, "getFhtBuffer: $count ".($msg ? $msg : "<empty>");
return hex($1) if($msg && $msg =~ m/=> ([0-9A-F]+)$/i); return hex($1) if($msg && $msg =~ m/=> ([0-9A-F]+)$/i);
return 0 if($count++ >= 5); return 0 if($count++ >= 5);
} }