From d844cd2a0204ee4db6da0f3e2b185a1b8ee9291e Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sat, 26 Aug 2006 21:00:18 +0000 Subject: Smoother volume control, less clickiness and some misc. formatting changes for tlv320 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10762 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/tlv320.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/tlv320.h b/firmware/export/tlv320.h index 45ebfee..dfcbec4 100644 --- a/firmware/export/tlv320.h +++ b/firmware/export/tlv320.h @@ -53,7 +53,7 @@ extern void tlv320_set_monitor(bool enable); /* REG_LHV: Left Channel Headphone Volume Control */ #define REG_LHV 0x2 #define LHV_LRS (1 << 8) /* simultaneous volume/mute update */ -#define LHV_LZC (1 << 7) /* Left-channel zero-cross detect */ +#define LHV_LZC (1 << 7) /* Left-channel zero-cross detect */ #define LHV_LHV(x) ((x) & 0x7f)/* Left headphone volume control */ /* REG_RHV: Right Channel Headphone Volume Control */ @@ -80,7 +80,7 @@ extern void tlv320_set_monitor(bool enable); /* REG_PC: Power Down Control */ #define REG_PC 0x6 -#define PC_ON (1 << 7) /* Device power */ +#define PC_OFF (1 << 7) /* Device power */ #define PC_CLK (1 << 6) /* Clock */ #define PC_OSC (1 << 5) /* Oscillator */ #define PC_OUT (1 << 4) /* Outputs */ -- cgit v1.1