diff --git a/firmware/target/arm/audio-pp.c b/firmware/target/arm/audio-pp.c index c08db8a88a..8163295661 100644 --- a/firmware/target/arm/audio-pp.c +++ b/firmware/target/arm/audio-pp.c @@ -31,8 +31,9 @@ void audio_set_source(int source, unsigned flags) { /* Prevent pops from unneeded switching */ static int last_source = AUDIO_SRC_PLAYBACK; - bool recording = flags & SRCF_RECORDING; +#ifdef CONFIG_TUNER static bool last_recording = false; +#endif switch (source) { diff --git a/firmware/target/arm/pcm-pp.c b/firmware/target/arm/pcm-pp.c index d9a3b6d7d7..77dedc1535 100644 --- a/firmware/target/arm/pcm-pp.c +++ b/firmware/target/arm/pcm-pp.c @@ -32,7 +32,6 @@ /* peaks */ -static int play_peak_left, play_peak_right; static unsigned long *rec_peak_addr; static int rec_peak_left, rec_peak_right;