00_ZWCUL.pm: fix decoding without dataRate

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10150 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-12-10 21:28:52 +00:00
parent 01645f09ec
commit 2b4939769e

View File

@@ -286,7 +286,8 @@ ZWCUL_Parse($$$$)
$rmsg = lc($rmsg);
my $me = $hash->{NAME};
my $s100 = (AttrVal($me, "dataRate", "100k") eq "100k");
my $s100 = (AttrVal($me, "dataRate", "40k") eq "100k");
my ($H, $S, $F, $f, $sn, $L, $T, $P, $C);
if($s100 && $rmsg =~ '^z(........)(..)(..)(..)(..)(..)(..)(.*)(....)$') {