From 48548d9a759748ead0cf1ee5911cb32387da4b01 Mon Sep 17 00:00:00 2001 From: RoboSchmied Date: Tue, 21 May 2024 16:41:50 +0200 Subject: [PATCH] Fix function name in video.c fix the name of function `channel_is_enabled` --- src/video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video.c b/src/video.c index 99de66d..5a30fe3 100644 --- a/src/video.c +++ b/src/video.c @@ -90,7 +90,7 @@ int take_next_free_channel(bool mainLoop) { return -1; } -bool channel_is_enable(char index) { +bool channel_is_enabled(char index) { pthread_mutex_lock(&mutex); bool enable = chnState[index].enable; pthread_mutex_unlock(&mutex); @@ -412,4 +412,4 @@ int stop_sdk() { fprintf(stderr, "SDK had stopped successfully!\n"); return EXIT_SUCCESS; -} \ No newline at end of file +}