Minor fix, function name was wm8994_setvolume instead of

wm8904_setvolume.
This commit is contained in:
okayserh 2022-04-10 19:04:16 +02:00 committed by Alan Carvalho de Assis
parent eb3e8175de
commit 56f0d72465
1 changed files with 1 additions and 1 deletions

View File

@ -1228,7 +1228,7 @@ static int wm8904_configure(FAR struct audio_lowerhalf_s *dev,
{ {
/* Scale the balance setting to the range {0..(b16ONE - 1)} */ /* Scale the balance setting to the range {0..(b16ONE - 1)} */
priv->balance = (balance * (b16ONE - 1)) / 1000; priv->balance = (balance * (b16ONE - 1)) / 1000;
wm8994_setvolume(priv, priv->volume, priv->mute); wm8904_setvolume(priv, priv->volume, priv->mute);
} }
else else
{ {