diff options
| author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2006-04-09 14:50:43 +0000 |
|---|---|---|
| committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2006-04-09 14:50:43 +0000 |
| commit | eb7d4f88ea9c6d0db420769d9b2828f1cfc27946 (patch) | |
| tree | 1dc13a17937b70562e4f0f98828af35b76f7942b /apps/plugins/fire.c | |
| parent | 65293be9bfa071947a11d0c51bff31579fd43a74 (diff) | |
| download | rockbox-eb7d4f88ea9c6d0db420769d9b2828f1cfc27946.zip rockbox-eb7d4f88ea9c6d0db420769d9b2828f1cfc27946.tar.gz rockbox-eb7d4f88ea9c6d0db420769d9b2828f1cfc27946.tar.bz2 rockbox-eb7d4f88ea9c6d0db420769d9b2828f1cfc27946.tar.xz | |
HAVE_ADJUSTABLE_CPU_FREQ isn't defined for simulators, so we don't have to check for simulator builds before using cpu_boost()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9580 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/fire.c')
| -rw-r--r-- | apps/plugins/fire.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/fire.c b/apps/plugins/fire.c index 2a4b96d..ac50196 100644 --- a/apps/plugins/fire.c +++ b/apps/plugins/fire.c @@ -298,8 +298,8 @@ static inline void fire_draw(void) void cleanup(void *parameter) { (void)parameter; - -#if !defined(SIMULATOR) && defined(HAVE_ADJUSTABLE_CPU_FREQ) + +#if defined(HAVE_ADJUSTABLE_CPU_FREQ) rb->cpu_boost(false); #endif #ifndef HAVE_LCD_COLOR @@ -338,7 +338,7 @@ int main(void) } #endif -#if !defined(SIMULATOR) && defined(HAVE_ADJUSTABLE_CPU_FREQ) +#if defined(HAVE_ADJUSTABLE_CPU_FREQ) rb->cpu_boost(true); #endif #ifndef HAVE_LCD_COLOR |