Costmetic change

This commit is contained in:
Gregory Nutt 2014-07-25 10:04:20 -06:00
parent 16eef02eec
commit 08fa9a9d54
1 changed files with 13 additions and 13 deletions

View File

@ -1818,27 +1818,27 @@ struct audio_lowerhalf_s *vs1053_initialize(FAR struct spi_dev_s *spi,
{ {
/* Initialize the VS1053 device structure */ /* Initialize the VS1053 device structure */
dev->lower.ops = &g_audioops; dev->lower.ops = &g_audioops;
dev->lower.upper = NULL; dev->lower.upper = NULL;
dev->lower.priv = NULL; dev->lower.priv = NULL;
dev->hw_lower = lower; dev->hw_lower = lower;
dev->spi_freq = CONFIG_VS1053_XTALI / 7; dev->spi_freq = CONFIG_VS1053_XTALI / 7;
dev->spi = spi; dev->spi = spi;
dev->mq = NULL; dev->mq = NULL;
dev->busy = FALSE; dev->busy = FALSE;
dev->threadid = 0; dev->threadid = 0;
dev->running = 0; dev->running = 0;
#ifndef CONFIG_AUDIO_EXCLUDE_VOLUME #ifndef CONFIG_AUDIO_EXCLUDE_VOLUME
dev->volume = 250; /* 25% volume as default */ dev->volume = 250; /* 25% volume as default */
#ifndef CONFIG_AUDIO_EXCLUDE_BALANCE #ifndef CONFIG_AUDIO_EXCLUDE_BALANCE
dev->balance = 500; /* Center balance */ dev->balance = 500; /* Center balance */
#endif #endif
#endif #endif
#ifndef CONFIG_AUDIO_EXCLUDE_TONE #ifndef CONFIG_AUDIO_EXCLUDE_TONE
dev->bass = 0; dev->bass = 0;
dev->treble = 0; dev->treble = 0;
#endif #endif
sem_init(&dev->apbq_sem, 0, 1); sem_init(&dev->apbq_sem, 0, 1);
dq_init(&dev->apbq); dq_init(&dev->apbq);