mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
Fix some compile problems with the WM8904 driver due to recent audio subsystem changes
This commit is contained in:
@@ -737,7 +737,7 @@ static int wm8904_configure(FAR struct audio_lowerhalf_s *dev,
|
||||
|
||||
/* Process based on Feature Unit */
|
||||
|
||||
switch (*((uint16_t *)caps->ac_format))
|
||||
switch (caps->ac_format.hw)
|
||||
{
|
||||
#ifndef CONFIG_AUDIO_EXCLUDE_VOLUME
|
||||
case AUDIO_FU_VOLUME:
|
||||
|
||||
Reference in New Issue
Block a user