diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-10-09 20:12:26 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-10-09 20:12:26 +0000 |
commit | ce135909b9393d9824b3f69a70659400480cc069 (patch) | |
tree | 9beb2b426421c8f0edfc520dc27d596039d52adc /firmware/target | |
parent | 6c98c8c6cbcb643fac6ee08f169843922479b96a (diff) |
Change c200 and e200 to use the same IIS FIFO format as seems to be working for others. Samples there have been packed for a long time though so no change to that.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15051 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/i2s-pp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/target/arm/i2s-pp.c b/firmware/target/arm/i2s-pp.c index 66ab0261a8..beb8e1e581 100644 --- a/firmware/target/arm/i2s-pp.c +++ b/firmware/target/arm/i2s-pp.c @@ -69,9 +69,11 @@ void i2s_reset(void) /* Set I2S to 44.1kHz */ IISCLK = (IISCLK & ~0x1ff) | 33; IISDIV = 7; - IISCONFIG = ((IISCONFIG & ~IIS_FIFO_FORMAT_MASK) | IIS_FIFO_FORMAT_LE16); -#elif defined (IRIVER_H10) || defined (IRIVER_H10_5GB) || defined(IPOD_NANO) \ - || defined(IPOD_VIDEO) || defined(IPOD_MINI2G) +#endif /* HAVE_AS3514 */ + +#if defined (IRIVER_H10) || defined (IRIVER_H10_5GB) || defined(IPOD_NANO) \ + || defined(IPOD_VIDEO) || defined(IPOD_MINI2G) \ + || defined (SANSA_C200) || defined (SANSA_E200) /* Nano works fine with IIS_FIFO_FORMAT_LE16 as well */ IISCONFIG = ((IISCONFIG & ~IIS_FIFO_FORMAT_MASK) | IIS_FIFO_FORMAT_LE16_2); #else |