Commit c67d28ab authored by vertighel's avatar vertighel
Browse files

dev

parent 71c7e596
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@ class Camera(BaseDevice):
            self._lib.ArtemisConnect.restype = ctypes.c_void_p
            self._lib.ArtemisImageBuffer.restype = ctypes.c_void_p
            self._lib.ArtemisExposureTimeRemaining.restype = ctypes.c_float
            log.debug(f"SDK reported {count} devices.")
        except Exception as e:
            log.error(f"Atik SDK load failed: {e}")
            
@@ -62,6 +61,7 @@ class Camera(BaseDevice):
        
        if self._handle is None and self._lib:
            count = self._lib.ArtemisDeviceCount()
            log.debug(f"SDK reported {count} devices.")
            
            if count > 0:
                self._handle = self._lib.ArtemisConnect(0)