From f3f8a04ec6dccaa710c1af2d412bec9f932a9939 Mon Sep 17 00:00:00 2001 From: BPanther Date: Sat, 27 Apr 2019 07:43:02 +0200 Subject: [PATCH] vusolo4k enable fcc Origin commit data ------------------ Branch: master Commit: https://github.com/neutrino-images/ni-libstb-hal/commit/c0476191b02c2299c21d7f2ebc1f426733a7fb6e Author: BPanther Date: 2019-04-27 (Sat, 27 Apr 2019) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- libarmbox/init.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libarmbox/init.cpp b/libarmbox/init.cpp index 367f6f4..573266e 100644 --- a/libarmbox/init.cpp +++ b/libarmbox/init.cpp @@ -1,5 +1,6 @@ -#include +#include +#include #include #include #include @@ -37,6 +38,10 @@ void hal_api_init() proc_put("/proc/stb/fb/dst_width", buffer, strlen(buffer)); sprintf(buffer, "%x", 1); proc_put("/proc/stb/fb/dst_apply", buffer, strlen(buffer)); +#if BOXMODEL_VUSOLO4K + const char mode_fcc[] = { "enable" }; + proc_put("/proc/stb/frontend/fbc/fcc", mode_fcc, strlen(mode_fcc)); +#endif } initialized = true; hal_info("%s end\n", __FUNCTION__);