Fix yellow and red. Maybe create some new.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19231 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-11-26 14:52:31 +00:00
parent 1735056864
commit 888c3477bb
2 changed files with 1 additions and 12 deletions

View file

@ -109,10 +109,6 @@ void audiohw_preinit(void)
GPIOL_OUTPUT_VAL |= 0x10; /* disable */ GPIOL_OUTPUT_VAL |= 0x10; /* disable */
#endif #endif
#ifdef CPU_PP502x
i2s_reset();
#endif
/* /*
* 1. Switch on power supplies. * 1. Switch on power supplies.
* By default the WM8751 is in Standby Mode, the DAC is * By default the WM8751 is in Standby Mode, the DAC is

View file

@ -62,9 +62,7 @@ static unsigned long pcm_freq SHAREDDATA_ATTR = HW_SAMPR_DEFAULT; /* 44.1 is def
void pcm_postinit(void) void pcm_postinit(void)
{ {
#if defined(IAUDIO_7) audiohw_postinit();
audiohw_postinit(); /* implemented not for all codecs */
#endif
pcm_apply_settings(); pcm_apply_settings();
} }
@ -115,11 +113,6 @@ void pcm_play_dma_init(void)
#endif #endif
} }
void pcm_postinit(void)
{
audiohw_postinit();
}
void pcm_apply_settings(void) void pcm_apply_settings(void)
{ {
pcm_curr_sampr = pcm_freq; pcm_curr_sampr = pcm_freq;