summaryrefslogtreecommitdiffstats
path: root/firmware/target
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-03 15:57:38 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-03 15:57:38 -0400
commitd5167b1221bb89c0241fa9f435a676d5a475e585 (patch)
tree3199d865c1ea2e0fddab0fbf519905f07410cb38 /firmware/target
parent2b358ffa7f65d3e67ae58a2f076477dae5bf67d5 (diff)
downloadrockbox-d5167b1221bb89c0241fa9f435a676d5a475e585.tar.gz
rockbox-d5167b1221bb89c0241fa9f435a676d5a475e585.zip
coldfire: Allow building when 88KHz audio is disabled
Change-Id: Ieeacf591ad4233428dca99c347043e61abae1d1f
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/coldfire/pcm-coldfire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/pcm-coldfire.c b/firmware/target/coldfire/pcm-coldfire.c
index 2e2312f7ae..5a5d2d2350 100644
--- a/firmware/target/coldfire/pcm-coldfire.c
+++ b/firmware/target/coldfire/pcm-coldfire.c
@@ -77,7 +77,7 @@
#if CONFIG_CPU == MCF5249 && defined(HAVE_UDA1380)
static const unsigned char pcm_freq_parms[HW_NUM_FREQ][2] =
{
- [HW_FREQ_88] = { 0x0c, 0x01 },
+HW_HAVE_88_([HW_FREQ_88] = { 0x0c, 0x01 },)
[HW_FREQ_44] = { 0x06, 0x01 },
[HW_FREQ_22] = { 0x04, 0x02 },
[HW_FREQ_11] = { 0x02, 0x02 },