vusolo4k enable fcc

This commit is contained in:
BPanther
2019-04-27 07:43:02 +02:00
committed by Thilo Graf
parent a90ec77f11
commit dfb48f114f

View File

@@ -1,5 +1,6 @@
#include <stdio.h> #include <config.h>
#include <stdio.h>
#include <fcntl.h> #include <fcntl.h>
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/types.h> #include <sys/types.h>
@@ -37,6 +38,10 @@ void hal_api_init()
proc_put("/proc/stb/fb/dst_width", buffer, strlen(buffer)); proc_put("/proc/stb/fb/dst_width", buffer, strlen(buffer));
sprintf(buffer, "%x", 1); sprintf(buffer, "%x", 1);
proc_put("/proc/stb/fb/dst_apply", buffer, strlen(buffer)); 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; initialized = true;
hal_info("%s end\n", __FUNCTION__); hal_info("%s end\n", __FUNCTION__);