mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 13:15:18 -05:00
Fixed compiler warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19512 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
de912cf62b
commit
511a8690c6
2 changed files with 4 additions and 1 deletions
|
|
@ -27,8 +27,11 @@
|
|||
|
||||
void audio_set_output_source(int source)
|
||||
{
|
||||
(void)source;
|
||||
}
|
||||
|
||||
void audio_input_mux(int source, unsigned flags)
|
||||
{
|
||||
(void)source;
|
||||
(void)flags;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ void pcm_dma_apply_settings(void)
|
|||
|
||||
const int divider = (((AS3525_PLLA_FREQ/128) + (frequency/2)) / frequency) - 1;
|
||||
if(divider < 0 || divider > 511)
|
||||
panicf("unsupported frequency %d", frequency);
|
||||
panicf("unsupported frequency %ld", frequency);
|
||||
|
||||
CGU_AUDIO &= ~(((511 ^ divider) << 2) /* I2SOUT */
|
||||
/*| ((511 ^ divider) << 14) */ /* I2SIN */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue