Merge branch 'master' of https://github.com/prusa3d/Prusa-Firmware-ESP32-Cam
commit
9af79c9fcb
|
|
@ -314,6 +314,7 @@ void Camera::CapturePhoto() {
|
||||||
CameraCaptureFailedCounter++;
|
CameraCaptureFailedCounter++;
|
||||||
log->AddEvent(LogLevel_Error, F("Camera capture failed! photo. Attempt: "), String(CameraCaptureFailedCounter));
|
log->AddEvent(LogLevel_Error, F("Camera capture failed! photo. Attempt: "), String(CameraCaptureFailedCounter));
|
||||||
xSemaphoreGive(frameBufferSemaphore); // Release semaphore before returning
|
xSemaphoreGive(frameBufferSemaphore); // Release semaphore before returning
|
||||||
|
CameraCaptureFailedCounter++;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue