fix 'rereadcfg'

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3175 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess
2013-05-13 18:48:20 +00:00
parent a954ceb60f
commit 9280b627dd

View File

@@ -82,9 +82,11 @@ sub FRM_Define($$) {
#####################################
sub FRM_Undef($) {
my $hash = @_;
my $hash = shift;
FRM_forall_clients($hash,\&FRM_Client_Unassign,undef);
DevIo_Disconnected($hash);
if (defined $hash->{DeviceName}) {
DevIo_Disconnected($hash);
};
my $device = $hash->{FirmataDevice};
if (defined $device) {
if (defined $device->{io}) {