OWX: fix infinit loop in DS9097 search if no device is present

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@6325 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess
2014-07-28 16:41:33 +00:00
parent 27aef5245d
commit 68b6b3fd86

View File

@@ -1927,7 +1927,7 @@ sub OWX_Search_9097 ($$) {
if( ($id_bit == 1) && ($cmp_id_bit == 1) ){ if( ($id_bit == 1) && ($cmp_id_bit == 1) ){
#print "no devices present at id_bit_number=$id_bit_number \n"; #print "no devices present at id_bit_number=$id_bit_number \n";
next; last;
} }
if ( $id_bit != $cmp_id_bit ){ if ( $id_bit != $cmp_id_bit ){
$search_direction = $id_bit; $search_direction = $id_bit;