diff options
author | Björn Stenberg <bjorn@haxx.se> | 2008-12-20 20:48:27 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2008-12-20 20:48:27 +0000 |
commit | 511a8690c6064a2e8c2d2b7671f05e38c5624611 (patch) | |
tree | 7a11e330f0dedd5a60ac1f0581ff12d3fedb5cb3 /firmware/target/arm/as3525 | |
parent | de912cf62baba7502f6308f469180bb9f4100424 (diff) |
Fixed compiler warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19512 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r-- | firmware/target/arm/as3525/audio-as3525.c | 3 | ||||
-rw-r--r-- | firmware/target/arm/as3525/pcm-as3525.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/audio-as3525.c b/firmware/target/arm/as3525/audio-as3525.c index 8601f58124..63aaf367e8 100644 --- a/firmware/target/arm/as3525/audio-as3525.c +++ b/firmware/target/arm/as3525/audio-as3525.c @@ -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; } diff --git a/firmware/target/arm/as3525/pcm-as3525.c b/firmware/target/arm/as3525/pcm-as3525.c index 4df31db376..650a86f85c 100644 --- a/firmware/target/arm/as3525/pcm-as3525.c +++ b/firmware/target/arm/as3525/pcm-as3525.c @@ -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 */ |