mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
HMLAN:restrict reopen
git-svn-id: https://svn.fhem.de/fhem/trunk@25204 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1d75c3a2b6
commit
68b6192436
@ -142,6 +142,7 @@ sub HMLAN_Define($$) {#########################################################
|
||||
HMLAN_Attr("delete",$name,"loadLevel");
|
||||
$hash->{Clients} = ":CUL_HM:";
|
||||
|
||||
$hash->{nextOpenDelay} = 10;
|
||||
return DevIo_OpenDev($hash, 0, "HMLAN_DoInit") if $init_done;
|
||||
return;
|
||||
}
|
||||
@ -835,7 +836,7 @@ sub HMLAN_Parse($$) {##########################################################
|
||||
}
|
||||
sub HMLAN_Ready($) {###########################################################
|
||||
my ($hash) = @_;
|
||||
return DevIo_OpenDev($hash, 1, "HMLAN_DoInit");
|
||||
return DevIo_OpenDev($hash, 1, "HMLAN_DoInit", sub(){});
|
||||
}
|
||||
sub HMLAN_SimpleWrite(@) {#####################################################
|
||||
my ($hash, $msg, $nonl) = @_;
|
||||
@ -909,6 +910,7 @@ sub HMLAN_SimpleWrite(@) {#####################################################
|
||||
.' ' .$dst
|
||||
.' ' .$p;
|
||||
|
||||
$hash->{helper}{q}{sending} = 1;
|
||||
$hash->{helper}{q}{scnt}++;
|
||||
}
|
||||
else{
|
||||
|
Loading…
Reference in New Issue
Block a user