Miroslav Pivovarsky 2024-05-27 19:18:19 +02:00
commit 9af79c9fcb
1 changed files with 1 additions and 0 deletions

View File

@ -314,6 +314,7 @@ void Camera::CapturePhoto() {
CameraCaptureFailedCounter++;
log->AddEvent(LogLevel_Error, F("Camera capture failed! photo. Attempt: "), String(CameraCaptureFailedCounter));
xSemaphoreGive(frameBufferSemaphore); // Release semaphore before returning
CameraCaptureFailedCounter++;
return;
}