From 7a650421bfecb3d46e0c552e2478c9ada2021992 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Fri, 20 Dec 2019 23:18:53 +0100 Subject: [PATCH] - libarmbox: align modification of /proc/stb/frontend/fbc/fcc to the proc_put calls above Signed-off-by: Thilo Graf --- libarmbox/init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libarmbox/init.cpp b/libarmbox/init.cpp index c484c75..f196088 100644 --- a/libarmbox/init.cpp +++ b/libarmbox/init.cpp @@ -41,8 +41,8 @@ void hal_api_init() sprintf(buffer, "%s", "mute"); proc_put("/proc/stb/video/zapmode", buffer, strlen(buffer)); #if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUULTIMO4K || BOXMODEL_VUUNO4KSE || BOXMODEL_VUUNO4K - const char mode_fcc[] = { "enable" }; - proc_put("/proc/stb/frontend/fbc/fcc", mode_fcc, strlen(mode_fcc)); + sprintf(buffer, "%s", "enable"); + proc_put("/proc/stb/frontend/fbc/fcc", buffer, strlen(buffer)); #endif } initialized = true;