From 181dd38d3ba12c3fb4be362705772b4b8a7d7a47 Mon Sep 17 00:00:00 2001 From: zwsd Date: Sun, 25 Sep 2022 14:40:29 +0800 Subject: [PATCH] change camera func name --- main/app_main.cpp | 2 +- main/camera.cpp | 2 +- main/camera.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main/app_main.cpp b/main/app_main.cpp index 05131e3..5d39962 100644 --- a/main/app_main.cpp +++ b/main/app_main.cpp @@ -8,7 +8,7 @@ extern "C" extern "C" void app_main(void) { ble_spp_server_init(); - camera_init(); + camera_motion_detection_init(); while (true) { diff --git a/main/camera.cpp b/main/camera.cpp index 7c198af..1e6c811 100644 --- a/main/camera.cpp +++ b/main/camera.cpp @@ -6,7 +6,7 @@ static QueueHandle_t xQueueAIFrame = NULL; static QueueHandle_t xQueueLCDFrame = NULL; -void camera_init(void) +void camera_motion_detection_init(void) { xQueueAIFrame = xQueueCreate(2, sizeof(camera_fb_t *)); xQueueLCDFrame = xQueueCreate(2, sizeof(camera_fb_t *)); diff --git a/main/camera.h b/main/camera.h index 91b5a71..e526e9e 100644 --- a/main/camera.h +++ b/main/camera.h @@ -1,2 +1,2 @@ #pragma once -void camera_init(void); \ No newline at end of file +void camera_motion_detection_init(void); \ No newline at end of file