From 739ad5e1aeebcc36d28690ee6a40bd21606e4c48 Mon Sep 17 00:00:00 2001 From: zwsd Date: Wed, 28 Sep 2022 16:55:41 +0800 Subject: [PATCH] update --- main/camera.cpp | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/main/camera.cpp b/main/camera.cpp index b20dc7a..0bc27de 100644 --- a/main/camera.cpp +++ b/main/camera.cpp @@ -1,17 +1,18 @@ /** * @file camera.cpp * @author Finny (tianjialong0106@163.com) - * @brief + * @brief * @version 0.1 * @date 2022-09-26 - * + * * @copyright Copyright (c) 2022 - * + * */ #include "camera.h" #include "who_camera.h" #include "who_motion_detection.hpp" #include "who_lcd.h" +#include "light.h" static QueueHandle_t xQueueAIFrame = NULL; static QueueHandle_t xQueueLCDFrame = NULL; @@ -30,6 +31,13 @@ void camera_init(void) {} void camera_registered_cb(void) {} -void camera_taking_pictures(void) {} +void camera_taking_pictures(void) +{ + //打开补光灯 + T_camera_fill_light_set_level(true); + + //关闭补光灯 + T_camera_fill_light_set_level(false); +} bool camera_recognition_reaction_plate(void) { return false; } \ No newline at end of file