mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 07:40:27 +00:00
audio: Fix nxstyle errors in audio.c.
Whitespace only. Add a blank line after two declarations. The errors are older than the next commit, but checkpatch checks the whole file. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
This commit is contained in:
parent
a652708efa
commit
5b69199093
1 changed files with 2 additions and 0 deletions
|
|
@ -895,6 +895,7 @@ static int audio_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
|||
{
|
||||
FAR struct audio_caps_s *caps =
|
||||
(FAR struct audio_caps_s *)((uintptr_t)arg);
|
||||
|
||||
DEBUGASSERT(lower->ops->getcaps != NULL);
|
||||
|
||||
audinfo("AUDIOIOC_GETCAPS: Device=%d\n", caps->ac_type);
|
||||
|
|
@ -1342,6 +1343,7 @@ static int audio_poll(FAR struct file *filep,
|
|||
/* This is a request to tear down the poll. */
|
||||
|
||||
FAR struct pollfd **slot = (FAR struct pollfd **)fds->priv;
|
||||
|
||||
*slot = NULL;
|
||||
fds->priv = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue