mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 04:19:37 +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:
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user