Skip to content

Commit fd1b525

Browse files
no1wudijerpelea
authored andcommitted
Fix some minor style issues
Fix typo and comment style in: * audio/audio_comp.c * drivers/drivers_initialize.c * drivers/pipes/fifo.c Signed-off-by: Huang Qi <[email protected]>
1 parent 3a6de58 commit fd1b525

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

audio/audio_comp.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ static int audio_comp_getcaps(FAR struct audio_lowerhalf_s *dev, int type,
228228
* Name: audio_comp_configure
229229
*
230230
* Description:
231-
* Configure the audio device for the specified mode of operation.
231+
* Configure the audio device for the specified mode of operation.
232232
*
233233
****************************************************************************/
234234

@@ -603,7 +603,7 @@ static int audio_comp_freebuffer(FAR struct audio_lowerhalf_s *dev,
603603
/****************************************************************************
604604
* Name: audio_comp_enqueuebuffer
605605
*
606-
* Description: Enqueue an Audio Pipeline Buffer for playback/ processing.
606+
* Description: Enqueue an Audio Pipeline Buffer for playback/processing.
607607
*
608608
****************************************************************************/
609609

@@ -699,7 +699,7 @@ static int audio_comp_ioctl(FAR struct audio_lowerhalf_s *dev, int cmd,
699699
/****************************************************************************
700700
* Name: audio_comp_read
701701
*
702-
* Description: Lower-half logic for read commands.
702+
* Description: Lower-half logic for read commands.
703703
*
704704
****************************************************************************/
705705

@@ -729,7 +729,7 @@ static int audio_comp_read(FAR struct audio_lowerhalf_s *dev,
729729
/****************************************************************************
730730
* Name: audio_comp_write
731731
*
732-
* Description: Lower-half logic for write commands.
732+
* Description: Lower-half logic for write commands.
733733
*
734734
****************************************************************************/
735735

drivers/drivers_initialize.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
****************************************************************************/
6262

6363
/* Check if only one console device is selected.
64-
* If you get this errro, search your .config file for CONSOLE_XXX_CONSOLE
64+
* If you get this error, search your .config file for CONSOLE_XXX_CONSOLE
6565
* options and remove what is not needed.
6666
*/
6767

drivers/pipes/fifo.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ static const struct file_operations g_fifo_fops =
6767
* Name: nx_mkfifo
6868
*
6969
* Description:
70-
* nx_mkfifo() makes a FIFO device driver file with name 'pathname.' Unlike
70+
* nx_mkfifo() makes a FIFO device driver file with name 'pathname'. Unlike
7171
* Linux, a NuttX FIFO is not a special file type but simply a device
7272
* driver instance. 'mode' specifies the FIFO's permissions.
7373
*
@@ -76,7 +76,7 @@ static const struct file_operations g_fifo_fops =
7676
* must have been opened from both reading and writing before input or
7777
* output can be performed. This FIFO implementation will block all
7878
* attempts to open a FIFO read-only until at least one thread has opened
79-
* the FIFO for writing.
79+
* the FIFO for writing.
8080
*
8181
* If all threads that write to the FIFO have closed, subsequent calls to
8282
* read() on the FIFO will return 0 (end-of-file).

0 commit comments

Comments
 (0)