09_CUL_FHTTK.pm: removed check within definition

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7483 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
matscher
2015-01-09 14:29:20 +00:00
parent 0c80c5eac3
commit f0a6f0b44d

View File

@@ -223,14 +223,6 @@ CUL_FHTTK_Define($$)
if($sensor !~ /^[0-9a-f]{6}$/) {
return "wrong sensor specification $sensor, need a 6 digit hex number!";
}
# check address of FHT TF at definition step
my $myaddr = hex($sensor);
my $boundary = hex(690000);
if($myaddr < $boundary) {
return "wrong sensor specification $sensor, the fist two digits must be equal or greater than 0x69!";
}
$hash->{CODE} = $sensor;
$modules{CUL_FHTTK}{defptr}{$sensor} = $hash;