mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
vusolo4k enable fcc
Origin commit data
------------------
Branch: master
Commit: c0476191b0
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2019-04-27 (Sat, 27 Apr 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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