diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-08-02 06:52:42 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-08-02 06:52:42 -0600 |
commit | 7f52b867cae7ecbf607c4639e3fae8e7d0cd2771 (patch) | |
tree | 67783fdbd6d94262f7285cefb56510c10c660444 /nuttx/include | |
parent | 4af62c01fa216306b3719cadb16686989481d8da (diff) | |
download | px4-nuttx-7f52b867cae7ecbf607c4639e3fae8e7d0cd2771.tar.gz px4-nuttx-7f52b867cae7ecbf607c4639e3fae8e7d0cd2771.tar.bz2 px4-nuttx-7f52b867cae7ecbf607c4639e3fae8e7d0cd2771.zip |
WM8904: Add an option to control WM8904 register dumping
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/audio/wm8904.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/audio/wm8904.h b/nuttx/include/nuttx/audio/wm8904.h index 887f822ac..ae8377724 100644 --- a/nuttx/include/nuttx/audio/wm8904.h +++ b/nuttx/include/nuttx/audio/wm8904.h @@ -66,6 +66,8 @@ * CONFIG_WM8904_NUM_BUFFERS - Preferred number of buffers * CONFIG_WM8904_WORKER_STACKSIZE - Stack size to use when creating the the * WM8904 worker thread. + * CONFIG_WM8904_REGDUMP - Enable logic to dump all WM8904 registers to + * the SYSLOG device. */ /* Pre-requisites */ @@ -232,7 +234,7 @@ FAR struct audio_lowerhalf_s * * ****************************************************************************/ -#ifdef CONFIG_DEBUG_AUDIO +#ifdef CONFIG_WM8904_REGDUMP void wm8904_dump_registers(FAR struct audio_lowerhalf_s *dev, FAR const char *msg); #else |