1
0
Fork 0
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:
Thomas Martitz 2011-12-24 12:21:16 +00:00
parent 249bba03f1
commit e3bcb0e2db
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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;