mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
fix 'rereadcfg'
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3175 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
f47ac5f0ba
commit
0c3fd7c74a
@ -82,9 +82,11 @@ sub FRM_Define($$) {
|
|||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
sub FRM_Undef($) {
|
sub FRM_Undef($) {
|
||||||
my $hash = @_;
|
my $hash = shift;
|
||||||
FRM_forall_clients($hash,\&FRM_Client_Unassign,undef);
|
FRM_forall_clients($hash,\&FRM_Client_Unassign,undef);
|
||||||
|
if (defined $hash->{DeviceName}) {
|
||||||
DevIo_Disconnected($hash);
|
DevIo_Disconnected($hash);
|
||||||
|
};
|
||||||
my $device = $hash->{FirmataDevice};
|
my $device = $hash->{FirmataDevice};
|
||||||
if (defined $device) {
|
if (defined $device) {
|
||||||
if (defined $device->{io}) {
|
if (defined $device->{io}) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user