From 09f18dd19be5b2091cf592b17cef226381e4d309 Mon Sep 17 00:00:00 2001 From: immi <> Date: Sun, 17 Oct 2021 09:00:33 +0000 Subject: [PATCH] THZ: fix for winOS for Matthias-56 (Forum #1179774) git-svn-id: https://svn.fhem.de/fhem/trunk@25087 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/00_THZ.pm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fhem/FHEM/00_THZ.pm b/fhem/FHEM/00_THZ.pm index bf8a9ebfe..d8d69b338 100644 --- a/fhem/FHEM/00_THZ.pm +++ b/fhem/FHEM/00_THZ.pm @@ -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); } #####################################