mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 21:36:28 +08:00
Minor fix, function name was wm8994_setvolume instead of
wm8904_setvolume.
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
eb3e8175de
commit
56f0d72465
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user