summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/rk27xx/pcm-rk27xx.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/rk27xx/pcm-rk27xx.c')
-rw-r--r--firmware/target/arm/rk27xx/pcm-rk27xx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/target/arm/rk27xx/pcm-rk27xx.c b/firmware/target/arm/rk27xx/pcm-rk27xx.c
index 5cfe54f9de..c0b4c45805 100644
--- a/firmware/target/arm/rk27xx/pcm-rk27xx.c
+++ b/firmware/target/arm/rk27xx/pcm-rk27xx.c
@@ -250,12 +250,6 @@ void pcm_dma_apply_settings(void)
audiohw_set_frequency(pcm_fsel);
}
-size_t pcm_get_bytes_waiting(void)
-{
- /* current terminate count is in transfer size units (4bytes here) */
- return (HDMA_CCNT0 & 0xffff)<<2;
-}
-
/* audio DMA ISR called when chunk from callers buffer has been transfered */
void INT_HDMA(void)
{