mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
THZ: fix for winOS for Matthias-56 (Forum #1179774)
git-svn-id: https://svn.fhem.de/fhem/trunk@25087 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
09450b7bde
commit
09f18dd19b
@ -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);
|
||||
}
|
||||
|
||||
#####################################
|
||||
|
Loading…
Reference in New Issue
Block a user