audio/pcm_decode: fix typo in assert condition
should be shutdown not start Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
parent
9c55a19238
commit
b802632761
1 changed files with 1 additions and 1 deletions
|
|
@ -804,7 +804,7 @@ static int pcm_shutdown(FAR struct audio_lowerhalf_s *dev)
|
||||||
/* Defer the operation to the lower device driver */
|
/* Defer the operation to the lower device driver */
|
||||||
|
|
||||||
lower = priv->lower;
|
lower = priv->lower;
|
||||||
DEBUGASSERT(lower && lower->ops->start);
|
DEBUGASSERT(lower && lower->ops->shutdown);
|
||||||
|
|
||||||
audinfo("Defer to lower shutdown\n");
|
audinfo("Defer to lower shutdown\n");
|
||||||
return lower->ops->shutdown(lower);
|
return lower->ops->shutdown(lower);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue