mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 07:56:03 +00:00
FB_CALLMONITOR: fixing non existing InitFn for DevIo call
git-svn-id: https://svn.fhem.de/fhem/trunk@4984 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
99bf13bbcc
commit
547b80c5fe
@ -119,7 +119,7 @@ FB_CALLMONITOR_Define($$)
|
|||||||
|
|
||||||
|
|
||||||
$hash->{DeviceName} = $dev;
|
$hash->{DeviceName} = $dev;
|
||||||
my $ret = DevIo_OpenDev($hash, 0, "FB_CALLMONITOR_DoInit");
|
my $ret = DevIo_OpenDev($hash, 0, undef);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -327,7 +327,7 @@ FB_CALLMONITOR_Attr($@)
|
|||||||
{
|
{
|
||||||
if($a[3] eq "0")
|
if($a[3] eq "0")
|
||||||
{
|
{
|
||||||
DevIo_OpenDev($hash, 0, "FB_CALLMONITOR_DoInit");
|
DevIo_OpenDev($hash, 0, undef);
|
||||||
}
|
}
|
||||||
elsif($a[3] eq "1")
|
elsif($a[3] eq "1")
|
||||||
{
|
{
|
||||||
@ -347,7 +347,7 @@ FB_CALLMONITOR_Attr($@)
|
|||||||
|
|
||||||
if( $a[2] eq "disable")
|
if( $a[2] eq "disable")
|
||||||
{
|
{
|
||||||
DevIo_OpenDev($hash, 0, "FB_CALLMONITOR_DoInit");
|
DevIo_OpenDev($hash, 0, undef);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user