PCM decoder: Fix a logic error in a DEBUG assertion

This commit is contained in:
Gregory Nutt 2014-07-28 12:45:22 -06:00
parent 056de6d125
commit 5e9a388ebd

View File

@ -1284,8 +1284,7 @@ static void pcm_callback(FAR void *arg, uint16_t reason,
{
FAR struct pcm_decode_s *priv = (FAR struct pcm_decode_s *)arg;
DEBUGASSERT(priv && apb && priv->export.upper);
DEBUGASSERT(priv && priv->export.upper);
/* The buffer belongs to to an upper level. Just forward the event to
* the next level up.