2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

fix 'rereadcfg'

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

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