From 60a2d552fa675e1be15b38f96f987b07574eb255 Mon Sep 17 00:00:00 2001 From: vanhofen 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 Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/e58884b4995e0697a499abd1a396f1463e5b5248 Author: vanhofen Date: 2019-12-20 (Fri, 20 Dec 2019) Origin message was: ------------------ - libarmbox: align modification of /proc/stb/frontend/fbc/fcc to the proc_put calls above ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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;