Fix some typos in comments; Fix some bad spacing in fb.h

This commit is contained in:
Gregory Nutt 2017-09-18 09:03:26 -06:00
parent cf431c9397
commit 725aa4add8
2 changed files with 23 additions and 23 deletions

View File

@ -440,13 +440,13 @@ static int fb_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
* Description:
* Register the framebuffer character device at /dev/fbN where N is the
* display number if the devices supports only a single plane. If the
* hardware supports multile color planes, then the device will be
* registered at /dev/fbN-M where N is the again display number but M is
* the display plane.
* hardware supports multiple color planes, then the device will be
* registered at /dev/fbN-M where N is the again display number but M
* is the display plane.
*
* Input Parameters:
* display - The display number for the case of boards supporting multiple
* displays or for hardware that supports supports multile
* displays or for hardware that supports multiple
* layers (each layer is consider a display). Typically zero.
* plane - Identifies the color plane on hardware that supports separate
* framebuffer "planes" for each color component.

View File

@ -208,7 +208,7 @@
#ifdef CONFIG_FB_HWCURSOR
# define FBIOGET_CURSOR _FBIOC(0x0005) /* Get cursor attributes */
/* Argument: writable struct fb_cursorattrib_s */
# define FBIOPUT_CURSOR _FBIOC(0x0006) /* Set cursor attibutes */
# define FBIOPUT_CURSOR _FBIOC(0x0006) /* Set cursor attributes */
/* Argument: read-only struct fb_setcursor_s */
#endif
#ifdef CONFIG_NX_UPDATE
@ -453,13 +453,13 @@ void up_fbuninitialize(int display);
* Description:
* Register the framebuffer character device at /dev/fbN where N is the
* display number if the devices supports only a single plane. If the
* hardware supports multile color planes, then the device will be
* registered at /dev/fbN-M where N is the again display number but M is
* the display plane.
* hardware supports multiple color planes, then the device will be
* registered at /dev/fbN-M where N is the again display number but M
* is the display plane.
*
* Input Parameters:
* display - The display number for the case of boards supporting multiple
* displays or for hardware that supports supports multile
* displays or for hardware that supports multiple
* layers (each layer is consider a display). Typically zero.
* plane - Identifies the color plane on hardware that supports separate
* framebuffer "planes" for each color component.