mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
armbox: fullscreen osd ;)
Origin commit data
------------------
Branch: master
Commit: a725528747
Author: TangoCash <eric@loxat.de>
Date: 2017-10-31 (Tue, 31 Oct 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "pwrmngr.h"
|
#include "pwrmngr.h"
|
||||||
|
#include <proc_tools.h>
|
||||||
|
|
||||||
#include "lt_debug.h"
|
#include "lt_debug.h"
|
||||||
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_INIT, NULL, args)
|
#define lt_debug(args...) _lt_debug(TRIPLE_DEBUG_INIT, NULL, args)
|
||||||
@@ -26,6 +27,16 @@ void init_td_api()
|
|||||||
{
|
{
|
||||||
cCpuFreqManager f;
|
cCpuFreqManager f;
|
||||||
f.SetCpuFreq(0); /* CPUFREQ == 0 is the trigger for leaving standby */
|
f.SetCpuFreq(0); /* CPUFREQ == 0 is the trigger for leaving standby */
|
||||||
|
char buffer[64];
|
||||||
|
sprintf(buffer, "%x", 0);
|
||||||
|
proc_put("/proc/stb/fb/dst_top", buffer, strlen(buffer));
|
||||||
|
proc_put("/proc/stb/fb/dst_left", buffer, strlen(buffer));
|
||||||
|
sprintf(buffer, "%x", 576);
|
||||||
|
proc_put("/proc/stb/fb/dst_height", buffer, strlen(buffer));
|
||||||
|
sprintf(buffer, "%x", 720);
|
||||||
|
proc_put("/proc/stb/fb/dst_width", buffer, strlen(buffer));
|
||||||
|
sprintf(buffer, "%x", 1);
|
||||||
|
proc_put("/proc/stb/fb/dst_apply", buffer, strlen(buffer));
|
||||||
}
|
}
|
||||||
initialized = true;
|
initialized = true;
|
||||||
lt_info("%s end\n", __FUNCTION__);
|
lt_info("%s end\n", __FUNCTION__);
|
||||||
|
Reference in New Issue
Block a user