summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/as3525/audio-as3525.c3
-rw-r--r--firmware/target/arm/as3525/pcm-as3525.c2
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 */