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:
parent
56b0dde545
commit
a2bbd1a549
1 changed files with 5 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue