rambo hai 5 meses
pai
achega
409e1b117c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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))