diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-25 10:04:20 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-25 10:04:20 -0600 |
commit | 4d3dfeaefdbca6b32e67c17a94e5a57215e48699 (patch) | |
tree | baf5a5524dccce76f4cfa091f51177b10b4823f9 | |
parent | db1fe08aba31e873daa3b240f99241910133181b (diff) | |
download | px4-nuttx-4d3dfeaefdbca6b32e67c17a94e5a57215e48699.tar.gz px4-nuttx-4d3dfeaefdbca6b32e67c17a94e5a57215e48699.tar.bz2 px4-nuttx-4d3dfeaefdbca6b32e67c17a94e5a57215e48699.zip |
Costmetic change
-rw-r--r-- | nuttx/drivers/audio/vs1053.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/nuttx/drivers/audio/vs1053.c b/nuttx/drivers/audio/vs1053.c index 1ebd79ec5..26c2aae41 100644 --- a/nuttx/drivers/audio/vs1053.c +++ b/nuttx/drivers/audio/vs1053.c @@ -1818,27 +1818,27 @@ struct audio_lowerhalf_s *vs1053_initialize(FAR struct spi_dev_s *spi, { /* Initialize the VS1053 device structure */ - dev->lower.ops = &g_audioops; + dev->lower.ops = &g_audioops; dev->lower.upper = NULL; - dev->lower.priv = NULL; - dev->hw_lower = lower; - dev->spi_freq = CONFIG_VS1053_XTALI / 7; - dev->spi = spi; - dev->mq = NULL; - dev->busy = FALSE; - dev->threadid = 0; - dev->running = 0; + dev->lower.priv = NULL; + dev->hw_lower = lower; + dev->spi_freq = CONFIG_VS1053_XTALI / 7; + dev->spi = spi; + dev->mq = NULL; + dev->busy = FALSE; + dev->threadid = 0; + dev->running = 0; #ifndef CONFIG_AUDIO_EXCLUDE_VOLUME - dev->volume = 250; /* 25% volume as default */ + dev->volume = 250; /* 25% volume as default */ #ifndef CONFIG_AUDIO_EXCLUDE_BALANCE - dev->balance = 500; /* Center balance */ + dev->balance = 500; /* Center balance */ #endif #endif #ifndef CONFIG_AUDIO_EXCLUDE_TONE - dev->bass = 0; - dev->treble = 0; + dev->bass = 0; + dev->treble = 0; #endif sem_init(&dev->apbq_sem, 0, 1); dq_init(&dev->apbq); |