fix 'rereadcfg'

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3175 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess 2013-05-13 18:48:20 +00:00
parent f47ac5f0ba
commit 0c3fd7c74a

View File

@ -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}) {