1
0
Fork 0
forked from len0rd/rockbox

Fix warnings from 56b0dde545

Need a default bit depth in pcm-x1000.c

Change-Id: I2c6af227975d2f47609b51090638012d8406ec1e
This commit is contained in:
Dana Conrad 2021-08-07 09:43:17 -05:00
parent 56b0dde545
commit a2bbd1a549

View file

@ -48,6 +48,11 @@ static void pcm_play_dma_int_cb(int event);
static void pcm_rec_dma_int_cb(int event);
#endif
/* if not otherwise defined, set to 16 */
#if !defined(PCM_NATIVE_BITDEPTH)
# define PCM_NATIVE_BITDEPTH 16
#endif
void pcm_play_dma_init(void)
{
/* Ungate clock, assign pins. NB this overlaps with pins labeled "sa0-sa4"