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

git-svn-id: https://svn.fhem.de/fhem/trunk@6325 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess
2014-07-28 16:41:33 +00:00
parent e38cf381aa
commit a8320093f9

View File

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