Small fix to avoid unintialized messages when no IODevice is set.
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@116 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -221,7 +221,8 @@ FHT_Set($@)
|
||||
|
||||
$val = "" if (!defined($val));
|
||||
|
||||
my $ioname = $hash->{IODev}->{NAME};
|
||||
my $ioname = "";
|
||||
$hash->{IODev}->{NAME} if($hash->{IODEV});
|
||||
if($attr{$ioname} && $attr{$ioname}{fhtsoftbuffer}) {
|
||||
|
||||
my $io = $hash->{IODev};
|
||||
|
||||
Reference in New Issue
Block a user