diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-07-28 12:45:22 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-07-28 12:45:22 -0600 |
commit | f51eff41cbef57f7983d836a1155c160989cca9e (patch) | |
tree | 4e98a01538be3340ee7780e30448e78606087e6a /nuttx | |
parent | 6a53bac4e3d6481d24f44912d91492cb6c6c8584 (diff) | |
download | px4-nuttx-f51eff41cbef57f7983d836a1155c160989cca9e.tar.gz px4-nuttx-f51eff41cbef57f7983d836a1155c160989cca9e.tar.bz2 px4-nuttx-f51eff41cbef57f7983d836a1155c160989cca9e.zip |
PCM decoder: Fix a logic error in a DEBUG assertion
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/audio/pcm_decode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nuttx/audio/pcm_decode.c b/nuttx/audio/pcm_decode.c index b3ca6c525..63477451a 100644 --- a/nuttx/audio/pcm_decode.c +++ b/nuttx/audio/pcm_decode.c @@ -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. |