From 8636e6949e802556da1588b814e454155358df90 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 11 Apr 2007 23:51:00 +0000 Subject: Moved SH1 system code to target tree. * First shot at hwcompat cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13114 a1c6a512-1295-4272-9138-f99709370657 --- firmware/sound.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'firmware/sound.c') diff --git a/firmware/sound.c b/firmware/sound.c index 7004a40fb6..923a8693bd 100644 --- a/firmware/sound.c +++ b/firmware/sound.c @@ -29,7 +29,6 @@ #endif #include "dac.h" #include "system.h" -#include "hwcompat.h" #if CONFIG_CODEC == SWCODEC #include "pcm_playback.h" #endif @@ -282,7 +281,7 @@ static const unsigned int prescale_table[] = }; /* convert tenth of dB volume (-780..+180) to dac3550 register value */ -static int tenthdb2reg(int db) +static int tenthdb2reg(int db) { if (db < -540) /* 3 dB steps */ return (db + 780) / 30; -- cgit v1.2.3