diff options
Diffstat (limited to 'nuttx/drivers/audio/wm8904.c')
-rw-r--r-- | nuttx/drivers/audio/wm8904.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/drivers/audio/wm8904.c b/nuttx/drivers/audio/wm8904.c index 0d7a79c87..707f5fd28 100644 --- a/nuttx/drivers/audio/wm8904.c +++ b/nuttx/drivers/audio/wm8904.c @@ -1475,6 +1475,9 @@ static int wm8904_sendbuffer(FAR struct wm8904_dev_s *priv) * REVISIT: Does this take into account the number channels? Perhaps * saving an reusing the bitrate would give a better and simpler * calculation. + * + * REVISIT: Should not use MSEC_PER_TICK. It can be inaccurate with + * microsecond resolution timer. */ timeout = (((uint32_t)(apb->nbytes - apb->curbyte) << 14) / |