summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/pcm_playback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c
index daa2e2a..a9d9ecd 100644
--- a/firmware/pcm_playback.c
+++ b/firmware/pcm_playback.c
@@ -625,9 +625,9 @@ void pcm_init(void)
dma_stop();
}
-#elif CONFIG_CPU == PNX0101
+#elif (CONFIG_CPU == PNX0101) || (CONFIG_CPU == PP5002)
-/* TODO: Implement for iFP7xx
+/* TODO: Implement for iFP7xx and iPod 3G
For now, just implement some dummy functions.
*/
@@ -686,7 +686,7 @@ size_t pcm_get_bytes_waiting(void)
#endif
-#if CONFIG_CPU != PNX0101
+#if (CONFIG_CPU != PNX0101) && (CONFIG_CPU != PP5002)
/*
* This function goes directly into the DMA buffer to calculate the left and
* right peak values. To avoid missing peaks it tries to look forward two full