Browse Source

Document the camera operation lock

SybexXx 1 day ago
parent
commit
f780c0db41
1 changed files with 1 additions and 0 deletions
  1. 1 0
      code/components/jomjol_controlcamera/ClassControllCamera.h

+ 1 - 0
code/components/jomjol_controlcamera/ClassControllCamera.h

@@ -31,6 +31,7 @@ class CCamera
 {
 {
 protected:
 protected:
     SemaphoreHandle_t m_cameraMutex;
     SemaphoreHandle_t m_cameraMutex;
+    // Recursive outer lock for sensor configuration and framebuffer lifetime.
     SemaphoreHandle_t m_cameraOperationMutex;
     SemaphoreHandle_t m_cameraOperationMutex;
     bool m_driverInitialized;
     bool m_driverInitialized;
     bool m_temporarySettingsActive;
     bool m_temporarySettingsActive;