2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-25 03:39:21 +00:00

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

git-svn-id: https://svn.fhem.de/fhem/trunk@5527 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess 2014-04-14 22:20:44 +00:00
parent a0afee82ac
commit d1d2212815

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();