11_OWX_CCC.pm: Bugfix

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16490 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
phenning 2018-03-25 19:22:13 +00:00
parent 22837e338b
commit b92376ff13

View File

@ -54,7 +54,7 @@ sub new($) {
return bless { return bless {
hash => $hash, hash => $hash,
#-- module version #-- module version
version => "7.08" version => "7.10"
}, $class; }, $class;
} }
@ -111,8 +111,8 @@ sub Define($) {
#-- reset the 1-Wire system in COC/CUNO #-- reset the 1-Wire system in COC/CUNO
main::CUL_SimpleWrite($hwdevice, "Oi"); main::CUL_SimpleWrite($hwdevice, "Oi");
main::Log3 $name,1,"OWX_CCC::Define warning: version ".$hash->{version}." not identical to OWX version ".$main::owx_version main::Log3 $name,1,"OWX_CCC::Define warning: version ".$self->{version}." not identical to OWX version ".$main::owx_version
if( $hash->{version} ne $main::owx_version); if( $self->{version} ne $main::owx_version);
#-- call low level init function for the device #-- call low level init function for the device
$self->Init(); $self->Init();
@ -316,7 +316,6 @@ sub Open () {
sub Close () { sub Close () {
my ($self) = @_; my ($self) = @_;
my $hash = $self->{hash}; my $hash = $self->{hash};
} }
######################################################################################## ########################################################################################
@ -326,7 +325,7 @@ sub Close () {
######################################################################################## ########################################################################################
sub Reopen () { sub Reopen () {
main::Log 1,"[OWX_CCC] Warning: ->Reopen currently not defined main::Log 1,"[OWX_CCC] Warning: ->Reopen currently not defined";
} }
######################################################################################## ########################################################################################