nana_sen 1 rok temu
rodzic
commit
a4de1cb2b0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      catch/api/controller/Api.php

+ 1 - 1
catch/api/controller/Api.php

@@ -1099,7 +1099,7 @@ class Api extends CatchController
         $flagOut = $avg["front"] > $config["front_out"] && $avg["behind"] > $config["behind_out"] && $avg["left"] > $config["left_out"] && $avg["right"] > $config["right_out"];
 
 
-        if($flagIn && $status == 2){
+        if($flagIn && ($status == 2 || $status == 3) ){
         // if($flagIn){
             $inoutIntFilter = $ues_redis->hget("anbang_four_wire", "anbang_4rssi_intFilter");
             $inoutIntFilter = $inoutIntFilter ? $inoutIntFilter : 20;