2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

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

git-svn-id: https://svn.fhem.de/fhem/trunk@2539 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre 2013-01-20 14:28:46 +00:00
parent 159efc9158
commit eaa47d7635

View File

@ -113,7 +113,7 @@ CUL_MAX_Check($@)
my $version = $hash->{IODev}{VERSION};
#Looks like "V 1.49 CUL868"
$version =~ m/V (.*)\.(.*) CUL.*/;
$version =~ m/V (.*)\.(.*) .*/;
my ($major_version,$minorversion) = ($1, $2);
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.";