CUL_MAX: append Za.... to initString

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2492 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
mgehre
2013-01-12 15:19:56 +00:00
parent f2cd5055df
commit 11cd4dd546

View File

@@ -72,6 +72,8 @@ CUL_MAX_Define($$)
if(CUL_MAX_Check($hash)) {
#Doing this on older firmware disables MAX mode
IOWrite($hash, "", "Za". $hash->{addr});
#Append to initString, so this is resend if cul disappears and then reappears
$hash->{IODev}{initString} .= "\nZa". $hash->{addr};
}
#This interface is shared with 00_MAXLAN.pm