forked from len0rd/rockbox
Fix reds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31416 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
249bba03f1
commit
e3bcb0e2db
2 changed files with 4 additions and 4 deletions
|
@ -14,8 +14,6 @@
|
||||||
|
|
||||||
#undef FLASH_SIZE
|
#undef FLASH_SIZE
|
||||||
|
|
||||||
#undef CPU_FREQ
|
|
||||||
|
|
||||||
#undef HAVE_ATA_POWER_OFF
|
#undef HAVE_ATA_POWER_OFF
|
||||||
|
|
||||||
#undef CONFIG_LCD
|
#undef CONFIG_LCD
|
||||||
|
|
|
@ -26,10 +26,12 @@
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
|
|
||||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
#ifndef CPU_FREQ
|
||||||
long cpu_frequency SHAREDBSS_ATTR = CPU_FREQ;
|
#define CPU_FREQ (-1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
long cpu_frequency SHAREDBSS_ATTR = CPU_FREQ;
|
||||||
|
|
||||||
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
|
||||||
static int boost_counter SHAREDBSS_ATTR = 0;
|
static int boost_counter SHAREDBSS_ATTR = 0;
|
||||||
static bool cpu_idle SHAREDBSS_ATTR = false;
|
static bool cpu_idle SHAREDBSS_ATTR = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue