CUL_MAX: don't check for CUL only, allow COC etc., too

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2539 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre
2013-01-20 14:28:46 +00:00
parent 10c3edd78f
commit b5e04e7b06

View File

@@ -113,7 +113,7 @@ CUL_MAX_Check($@)
my $version = $hash->{IODev}{VERSION}; my $version = $hash->{IODev}{VERSION};
#Looks like "V 1.49 CUL868" #Looks like "V 1.49 CUL868"
$version =~ m/V (.*)\.(.*) CUL.*/; $version =~ m/V (.*)\.(.*) .*/;
my ($major_version,$minorversion) = ($1, $2); my ($major_version,$minorversion) = ($1, $2);
if($major_version == 1 and $minorversion < 52) { if($major_version == 1 and $minorversion < 52) {
Log 2, "The current firmware of the CUL has known bugs with respect to MAX! support. Please update."; Log 2, "The current firmware of the CUL has known bugs with respect to MAX! support. Please update.";