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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user