fix ready func for reappearing

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@2079 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
markusbloch
2012-11-04 15:05:57 +00:00
parent c929225ca8
commit 5d2383d7c4

View File

@@ -28,6 +28,7 @@ FB_CALLMONITOR_Initialize($)
# Provider
$hash->{SetFn} = "FB_CALLMONITOR_Set";
$hash->{ReadFn} = "FB_CALLMONITOR_Read";
$hash->{ReadyFn} = "FB_CALLMONITOR_Ready";
$hash->{DefFn} = "FB_CALLMONITOR_Define";
$hash->{UndefFn} = "FB_CALLMONITOR_Undef";
$hash->{AttrList}= "event-on-update-reading event-on-change-reading";
@@ -133,6 +134,16 @@ return undef;
}
sub
FB_CALLMONITOR_Ready($)
{
my ($hash) = @_;
return DevIo_OpenDev($hash, 1, "FB_CALLMONITOR_DoInit");
}
1;
=pod