From ff4a2e23d396f7c5f73f90e49223b805058607ec Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Thu, 12 Jan 2023 01:07:44 +0300 Subject: camera_node: sleep for 1 sec when capturing with flash --- src/camera_node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/camera_node.py b/src/camera_node.py index 9ff0e77..01c4a4c 100755 --- a/src/camera_node.py +++ b/src/camera_node.py @@ -30,7 +30,7 @@ class ESP32CameraNodeServer(MediaNodeServer): if with_flash: await self.web.setflash(True) - await asyncio.sleep(0.2) + await asyncio.sleep(1) bytes = (await self.web.capture()).read() -- cgit v1.2.3