diff --git a/drivers/audio/wm8994.c b/drivers/audio/wm8994.c index 5f77f2e2b6..7e94d44a24 100644 --- a/drivers/audio/wm8994.c +++ b/drivers/audio/wm8994.c @@ -482,7 +482,7 @@ static void wm8994_setvolume(FAR struct wm8994_dev_s *priv, uint16_t volume, { leftlevel = volume; } - else if (priv->balance == b16ONE) + else if (priv->balance == (b16ONE - 1)) { leftlevel = 0; }