OWX_ID: fix calling into sync OWX while in async-mode

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5527 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess
2014-04-14 22:20:44 +00:00
parent bd1b9960f8
commit 8007cee3f2

View File

@@ -55,7 +55,7 @@ use strict;
use warnings;
sub Log($$);
my $owx_version="5.11";
my $owx_version="5.12";
#-- declare variables
my %gets = (
"present" => "",
@@ -347,7 +347,11 @@ sub OWID_GetValues($) {
#-- measure elapsed time
my $t0 = [gettimeofday];
$value = OWX_Verify($master,$hash->{ROM_ID});
if( $hash->{ASYNC} ){
$value = OWX_ASYNC_Verify($master,$hash->{ROM_ID});
} else {
$value = OWX_Verify($master,$hash->{ROM_ID});
}
#my $thr = threads->create('OWX_Verify', $master, $hash->{ROM_ID});
#$thr->detach();