summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2011-03-26 13:12:24 +0000
committerRobert Kukla <roolku@rockbox.org>2011-03-26 13:12:24 +0000
commitd9bc251de1fd9a34b34bff44c6cd76659ea96c98 (patch)
treefb91007327bd5890bbe63d6ca8eef37421ba3944 /firmware
parent8c1d114dcfcc8b3d47505e3139151eec43ebbdc4 (diff)
downloadrockbox-d9bc251de1fd9a34b34bff44c6cd76659ea96c98.tar.gz
rockbox-d9bc251de1fd9a34b34bff44c6cd76659ea96c98.tar.bz2
rockbox-d9bc251de1fd9a34b34bff44c6cd76659ea96c98.zip
use correct define for gigabeat fx to enable lineout (was broken in r29588)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29646 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/audio/wm8751.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/audio/wm8751.c b/firmware/drivers/audio/wm8751.c
index cbc65d63ef..c37341ef26 100644
--- a/firmware/drivers/audio/wm8751.c
+++ b/firmware/drivers/audio/wm8751.c
@@ -275,7 +275,7 @@ void audiohw_postinit(void)
wmcodec_set_bits(PWRMGMT2, PWRMGMT2_DACL | PWRMGMT2_DACR);
/* 4. Enable line and / or headphone output buffers as required. */
-#if defined(GIGABEATFX)
+#if defined(GIGABEAT_F)
/* headphones + line-out */
wmcodec_set_bits(PWRMGMT2, PWRMGMT2_LOUT1 | PWRMGMT2_ROUT1 |
PWRMGMT2_LOUT2 | PWRMGMT2_ROUT2);