move PCM_NATIVE_BITDEPTH definiton into global config code

Change-Id: I391bcffca670916c2c88426e2ba2603351326cee
This commit is contained in:
Solomon Peachy 2021-08-07 11:14:15 -04:00
parent eeb0aaf36f
commit 39fff5cb53
3 changed files with 5 additions and 10 deletions

View file

@ -48,11 +48,6 @@ 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"