summaryrefslogtreecommitdiff
path: root/firmware/drivers/dac.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-08-16 07:16:52 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-08-16 07:16:52 +0000
commitbd7fc37984f9a142f1ffcaad3480938582d166b2 (patch)
treeea839bef15df80a24f6bdacfbc20158722357c3a /firmware/drivers/dac.c
parenta847271a248b96bcd7d8f1c251728950119fd1d1 (diff)
downloadrockbox-bd7fc37984f9a142f1ffcaad3480938582d166b2.zip
rockbox-bd7fc37984f9a142f1ffcaad3480938582d166b2.tar.gz
rockbox-bd7fc37984f9a142f1ffcaad3480938582d166b2.tar.bz2
rockbox-bd7fc37984f9a142f1ffcaad3480938582d166b2.tar.xz
No DAC3550A in the recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1774 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/dac.c')
-rw-r--r--firmware/drivers/dac.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/drivers/dac.c b/firmware/drivers/dac.c
index 72d4c40..c8a5414 100644
--- a/firmware/drivers/dac.c
+++ b/firmware/drivers/dac.c
@@ -16,11 +16,14 @@
* KIND, either express or implied.
*
****************************************************************************/
+#include "config.h"
#include "stdbool.h"
#include "i2c.h"
#include "debug.h"
#include "dac.h"
+#ifdef HAVE_DAC3550A
+
int dac_volume(unsigned int left, unsigned int right, bool deemph)
{
int ret = 0;
@@ -89,3 +92,5 @@ void dac_init(void)
i2c_write(DAC_DEV_WRITE,buf,2);
i2c_end();
}
+
+#endif