rambo 3 月之前
父節點
當前提交
409e1b117c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      python/mcu/capture/smart_shooter_class.py

+ 1 - 1
python/mcu/capture/smart_shooter_class.py

@@ -299,7 +299,7 @@ class SmartShooter(metaclass=SingletonType):
             print("LOW_ISO", low_iso)
             print("HIGH_ISO", high_iso)
             print("MODE_ISO", mode_iso)
-            if str(mode_iso).lower() != "auto":
+            if str(low_iso).lower() != "auto" and str(high_iso).lower() != "auto":
                 # 等于auto就不设置
                 if enable_status == True:
                     await self.setCameraProperty(property="ISO", value=str(mode_iso))