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