From 2bcde185dd22e3963ecc51b0ca1785a296e18266 Mon Sep 17 00:00:00 2001 From: robert hasson Date: Tue, 14 Feb 2023 18:12:04 +0100 Subject: [PATCH] States matters --- LumixCamera/Driver.vb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/LumixCamera/Driver.vb b/LumixCamera/Driver.vb index a6f70ed..727f32f 100644 --- a/LumixCamera/Driver.vb +++ b/LumixCamera/Driver.vb @@ -782,6 +782,9 @@ Public Class Camera StopExposure() TL.LogMessage("AbortExposure", "Exposure Aborted") CurrentState = CameraStates.cameraIdle + cameraImageReady = False + TL.LogMessage("Camera ImageReady", "False") + End Sub @@ -1765,8 +1768,8 @@ Public Class Camera Catch ex As Exception TL.LogMessage("error in reading image", "error in reading image") - cameraImageReady = True - TL.LogMessage("Imageready", "True") + cameraImageReady = False + TL.LogMessage("Imageready", "False") CurrentState = CameraStates.cameraIdle Exit Sub End Try