rambo 3 meses atrás
pai
commit
409e1b117c
1 arquivos alterados com 1 adições e 1 exclusões
  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))