Rolling 210527

This commit is contained in:
jomjol
2021-05-27 19:22:27 +02:00
parent 026bac121f
commit 6e0a7a742e
14 changed files with 61 additions and 14 deletions

View File

@@ -222,7 +222,8 @@ void CCamera::SetQualitySize(int qual, framesize_t resol)
void CCamera::EnableAutoExposure(int flashdauer)
{
LEDOnOff(true);
LightOnOff(true);
if (flashdauer > 0)
LightOnOff(true);
const TickType_t xDelay = flashdauer / portTICK_PERIOD_MS;
vTaskDelay( xDelay );