mirror of
https://github.com/apache/nuttx.git
synced 2025-05-08 22:32:04 +08:00
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
@ -804,7 +804,7 @@ static int pcm_shutdown(FAR struct audio_lowerhalf_s *dev)
|
||||
/* Defer the operation to the lower device driver */
|
||||
|
||||
lower = priv->lower;
|
||||
DEBUGASSERT(lower && lower->ops->start);
|
||||
DEBUGASSERT(lower && lower->ops->shutdown);
|
||||
|
||||
audinfo("Defer to lower shutdown\n");
|
||||
return lower->ops->shutdown(lower);
|
||||
|
Loading…
x
Reference in New Issue
Block a user