From b92376ff13a0b5dbe33b145b4dd4de20bcfedec2 Mon Sep 17 00:00:00 2001 From: phenning <> Date: Sun, 25 Mar 2018 19:22:13 +0000 Subject: [PATCH] 11_OWX_CCC.pm: Bugfix git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16490 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/11_OWX_CCC.pm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/FHEM/11_OWX_CCC.pm b/FHEM/11_OWX_CCC.pm index 32f2614f2..d96467724 100644 --- a/FHEM/11_OWX_CCC.pm +++ b/FHEM/11_OWX_CCC.pm @@ -54,7 +54,7 @@ sub new($) { return bless { hash => $hash, #-- module version - version => "7.08" + version => "7.10" }, $class; } @@ -111,8 +111,8 @@ sub Define($) { #-- reset the 1-Wire system in COC/CUNO main::CUL_SimpleWrite($hwdevice, "Oi"); - main::Log3 $name,1,"OWX_CCC::Define warning: version ".$hash->{version}." not identical to OWX version ".$main::owx_version - if( $hash->{version} ne $main::owx_version); + main::Log3 $name,1,"OWX_CCC::Define warning: version ".$self->{version}." not identical to OWX version ".$main::owx_version + if( $self->{version} ne $main::owx_version); #-- call low level init function for the device $self->Init(); @@ -316,7 +316,6 @@ sub Open () { sub Close () { my ($self) = @_; my $hash = $self->{hash}; - } ######################################################################################## @@ -326,7 +325,7 @@ sub Close () { ######################################################################################## sub Reopen () { - main::Log 1,"[OWX_CCC] Warning: ->Reopen currently not defined + main::Log 1,"[OWX_CCC] Warning: ->Reopen currently not defined"; } ########################################################################################