THZ: fix for winOS for Matthias-56 (Forum #1179774)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@25087 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
immi 2021-10-17 09:00:33 +00:00
parent 3abbf68bad
commit e1772a9b90

View File

@ -1,8 +1,8 @@
##############################################
# 00_THZ
# $Id$
# by immi 03/2021
my $thzversion = "0.196";
# by immi 10/2021
my $thzversion = "0.197";
# this code is based on the hard work of Robert; I just tried to port it
# http://robert.penz.name/heat-pump-lwz/
########################################################################################
@ -1570,9 +1570,9 @@ sub THZ_ReadAnswer($) {
}
else{ $count += 10; } # increased to 10 because doubled the countmax
}
return ("THZ_ReadAnswer: Interface max repeat limited to $countmax ", $data) if ($count == ($countmax +1));
Log3 $hash->{NAME}, 5, "THZ_ReadAnswer: uc unpack: '$data'";
return (undef, $data);
return ("THZ_ReadAnswer: Interface max repeat limited to $countmax ", $data) if ($count == ($countmax +1));
Log3 $hash->{NAME}, 5, "THZ_ReadAnswer: uc unpack: '$data'";
return (undef, $data);
}
#####################################