mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
WM8904: Add an option to control WM8904 register dumping
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user