mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
@@ -60,7 +60,7 @@ unsigned long cCpuFreqManager::GetDelta(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if HAVE_SPARK_HARDWARE || HAVE_DUCKBOX_HARDWARE
|
||||
#if HAVE_DUCKBOX_HARDWARE
|
||||
unsigned long cCpuFreqManager::GetCpuFreq(void)
|
||||
{
|
||||
int freq = 0;
|
||||
@@ -88,7 +88,7 @@ unsigned long cCpuFreqManager::GetCpuFreq(void)
|
||||
bool cCpuFreqManager::SetCpuFreq(unsigned long f)
|
||||
{
|
||||
hal_info("%s(%lu) => set standby = %s\n", __func__, f, f ? "true" : "false");
|
||||
#if HAVE_SPARK_HARDWARE || HAVE_DUCKBOX_HARDWARE
|
||||
#if HAVE_DUCKBOX_HARDWARE
|
||||
if (f)
|
||||
{
|
||||
FILE *pll0 = fopen("/proc/cpu_frequ/pll0_ndiv_mdiv", "w");
|
||||
|
Reference in New Issue
Block a user