mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
vusolo4k enable fcc
This commit is contained in:
@@ -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__);
|
||||||
|
Reference in New Issue
Block a user