summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Conrad <dconrad@fastmail.com>2021-08-07 09:43:17 -0500
committerDana Conrad <dconrad@fastmail.com>2021-08-07 09:43:17 -0500
commita2bbd1a549097b6e6400ea9e3cafaab1dcac78df (patch)
tree923fa4d02fb772f5a5595a4e0fc37a13d02f9a8d
parent56b0dde5451ddedfd85c82391536e310cd05e1a8 (diff)
downloadrockbox-a2bbd1a549097b6e6400ea9e3cafaab1dcac78df.tar.gz
rockbox-a2bbd1a549097b6e6400ea9e3cafaab1dcac78df.zip
Fix warnings from 56b0dde545
Need a default bit depth in pcm-x1000.c Change-Id: I2c6af227975d2f47609b51090638012d8406ec1e
-rw-r--r--firmware/target/mips/ingenic_x1000/pcm-x1000.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_x1000/pcm-x1000.c b/firmware/target/mips/ingenic_x1000/pcm-x1000.c
index ce2fbb17a9..73c568c950 100644
--- a/firmware/target/mips/ingenic_x1000/pcm-x1000.c
+++ b/firmware/target/mips/ingenic_x1000/pcm-x1000.c
@@ -48,6 +48,11 @@ static void pcm_play_dma_int_cb(int event);
48static void pcm_rec_dma_int_cb(int event); 48static void pcm_rec_dma_int_cb(int event);
49#endif 49#endif
50 50
51/* if not otherwise defined, set to 16 */
52#if !defined(PCM_NATIVE_BITDEPTH)
53# define PCM_NATIVE_BITDEPTH 16
54#endif
55
51void pcm_play_dma_init(void) 56void pcm_play_dma_init(void)
52{ 57{
53 /* Ungate clock, assign pins. NB this overlaps with pins labeled "sa0-sa4" 58 /* Ungate clock, assign pins. NB this overlaps with pins labeled "sa0-sa4"