summaryrefslogtreecommitdiff
path: root/examples/device/video_capture
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2025-01-26 00:24:25 +0700
committerGitHub <[email protected]>2025-01-26 00:24:25 +0700
commit0d4f945bdce5bbe47feab51b2a77a26f30aac0bd (patch)
treeae8b33a10bf1a13b70de459796da9f78494e6b19 /examples/device/video_capture
parent37e6f496197e0bc35ca0f71cfef80c19be273ca3 (diff)
parent882cb1406d19a3a16d530ec8bd5d8fb7571a4eef (diff)
Merge pull request #2962 from hathach/zephyr-support
Initial Zephyr support
Diffstat (limited to 'examples/device/video_capture')
-rw-r--r--examples/device/video_capture/CMakeLists.txt2
-rw-r--r--examples/device/video_capture/src/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/device/video_capture/CMakeLists.txt b/examples/device/video_capture/CMakeLists.txt
index 80dc39ca5..90788fa60 100644
--- a/examples/device/video_capture/CMakeLists.txt
+++ b/examples/device/video_capture/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.17)
+cmake_minimum_required(VERSION 3.20)
include(${CMAKE_CURRENT_SOURCE_DIR}/../../../hw/bsp/family_support.cmake)
diff --git a/examples/device/video_capture/src/main.c b/examples/device/video_capture/src/main.c
index 8bb924c61..04d4af4e5 100644
--- a/examples/device/video_capture/src/main.c
+++ b/examples/device/video_capture/src/main.c
@@ -185,7 +185,7 @@ static void fill_color_bar(uint8_t* buffer, unsigned start_position) {
#endif
-void video_send_frame(void) {
+static void video_send_frame(void) {
static unsigned start_ms = 0;
static unsigned already_sent = 0;