mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Run codespell -w with the latest dictonary again
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Abdelatif Guettouche
parent
55a7dfc9a7
commit
cde88cabcc
+1
-1
@@ -47,7 +47,7 @@ config NX_RAMBACKED
|
||||
default n
|
||||
---help---
|
||||
If this option is selected, then windows may be optionally created
|
||||
with a RAM frambuffer backing up the window content. Rending into
|
||||
with a RAM framebuffer backing up the window content. Rending into
|
||||
the window will result in rending into the backup framebuffer, then
|
||||
updating the physical display from the framebuffer.
|
||||
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ at the present, but here is the longer term roadmap:
|
||||
without NxWidgets and is built on top of NX.
|
||||
NXFONTS - A set of C graphics tools for presenting (bitmap) font images.
|
||||
NX - The tiny NuttX windowing system. This includes the small-footprint
|
||||
multi-user implentation (NXMU as described below). NX can be used
|
||||
multi-user implementation (NXMU as described below). NX can be used
|
||||
without NxWidgets and without NXTOOLKIT for raw access to window memory.
|
||||
NXGLIB - Low level graphics utilities and direct framebuffer rendering logic.
|
||||
NX is built on top of NXGLIB.
|
||||
|
||||
@@ -336,7 +336,7 @@ void nxbe_cursor_enable(FAR struct nxbe_state_s *be, bool enable);
|
||||
* Set the cursor image
|
||||
*
|
||||
* The image is provided a a 2-bits-per-pixel image. The two bit incoding
|
||||
* is as followings:
|
||||
* is as following:
|
||||
*
|
||||
* 00 - The transparent background
|
||||
* 01 - Color1: The main color of the cursor
|
||||
@@ -389,7 +389,7 @@ void nxbe_cursor_setposition(FAR struct nxbe_state_s *be,
|
||||
* be - The back-end state structure instance, or
|
||||
* wnd - Window state structure
|
||||
* rect - The modified region of the window. In windows coordinates for
|
||||
* nxbe_cursor_backupdraw(); in graphics device corrdinates for
|
||||
* nxbe_cursor_backupdraw(); in graphics device coordinates for
|
||||
* nxbe_cursor_backupdraw_dev().
|
||||
* plane - The plane number to use.
|
||||
*
|
||||
@@ -415,7 +415,7 @@ void nxbe_cursor_backupdraw_dev(FAR struct nxbe_state_s *be,
|
||||
* be - The back-end state structure instance, or
|
||||
* wnd - Window state structure
|
||||
* rect - The modified region of the window. In windows coordinates for
|
||||
* nxbe_cursor_backupdraw(); in graphics device corrdinates for
|
||||
* nxbe_cursor_backupdraw(); in graphics device coordinates for
|
||||
* nxbe_cursor_backupdraw_dev().
|
||||
*
|
||||
* Returned Value:
|
||||
@@ -505,7 +505,7 @@ void nxbe_modal(FAR struct nxbe_window_s *wnd, bool enable);
|
||||
*
|
||||
* Description:
|
||||
* Select if the window is visible or hidden. A hidden window is still
|
||||
* present will will update normally, but will be on the visiable on the
|
||||
* present will will update normally, but will be on the visible on the
|
||||
* display until it is unhidden.
|
||||
*
|
||||
* Input Parameters:
|
||||
@@ -692,7 +692,7 @@ void nxbe_bitmap(FAR struct nxbe_window_s *wnd,
|
||||
* Name: nxbe_flush
|
||||
*
|
||||
* Description:
|
||||
* After per-window frambuffer has been updated, the modified region must
|
||||
* After per-window framebuffer has been updated, the modified region must
|
||||
* be written to device graphics memory. That function is managed by this
|
||||
* simple function. It does the following:
|
||||
*
|
||||
|
||||
@@ -97,7 +97,7 @@ void nxbe_closewindow(FAR struct nxbe_window_s *wnd)
|
||||
NXBE_STATE_CLRMODAL(be);
|
||||
}
|
||||
|
||||
/* A hidden window does not exist in the hiearchy */
|
||||
/* A hidden window does not exist in the hierarchy */
|
||||
|
||||
if (!NXBE_ISHIDDEN(wnd))
|
||||
{
|
||||
|
||||
@@ -114,7 +114,7 @@ void nxbe_cursor_enable(FAR struct nxbe_state_s *be, bool enable)
|
||||
be->cursor.visible = true;
|
||||
|
||||
/* For a hardware cursor, this would require some interaction with the
|
||||
* grahics device.
|
||||
* graphics device.
|
||||
*/
|
||||
|
||||
# error Missing logic
|
||||
@@ -147,7 +147,7 @@ void nxbe_cursor_enable(FAR struct nxbe_state_s *be, bool enable)
|
||||
}
|
||||
#else
|
||||
/* For a hardware cursor, this would require some interaction with the
|
||||
* grahics device.
|
||||
* graphics device.
|
||||
*/
|
||||
|
||||
# error Missing logic
|
||||
@@ -284,7 +284,7 @@ errout_with_erase:
|
||||
|
||||
#else
|
||||
/* For a hardware cursor, this would require some interaction with the
|
||||
* grahics device.
|
||||
* graphics device.
|
||||
*/
|
||||
|
||||
# error Missing logic
|
||||
@@ -361,7 +361,7 @@ void nxbe_cursor_setposition(FAR struct nxbe_state_s *be,
|
||||
|
||||
#else
|
||||
/* For a hardware cursor, this would require some interaction with the
|
||||
* grahics device.
|
||||
* graphics device.
|
||||
*/
|
||||
|
||||
# error Missing logic
|
||||
|
||||
@@ -157,7 +157,7 @@ void nxbe_cursor_backupdraw(FAR struct nxbe_window_s *wnd,
|
||||
* be - The back-end state structure instance, or
|
||||
* wnd - Window state structure
|
||||
* rect - The modified region of the window. In windows coordinates for
|
||||
* nxbe_cursor_backupdraw(); in graphics device corrdinates for
|
||||
* nxbe_cursor_backupdraw(); in graphics device coordinates for
|
||||
* nxbe_cursor_backupdraw_dev().
|
||||
*
|
||||
* Returned Value:
|
||||
|
||||
@@ -168,7 +168,7 @@ static inline void nxbe_fill_pwfb(FAR struct nxbe_window_s *wnd,
|
||||
|
||||
DEBUGASSERT(wnd->be->plane[0].pwfb.fillrectangle != NULL);
|
||||
|
||||
/* The rectangle that we receive here is in abolute device coordinates. We
|
||||
/* The rectangle that we receive here is in absolute device coordinates. We
|
||||
* need to restore this to windows relative coordinates.
|
||||
*/
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ static inline void nxbe_filltrapezoid_dev(FAR struct nxbe_window_s *wnd,
|
||||
#endif
|
||||
{
|
||||
/* Rend any part of the trapezoid that is not occluded by a window
|
||||
* higher in the hiearchy.
|
||||
* higher in the hierarchy.
|
||||
*/
|
||||
|
||||
info.color = color[i];
|
||||
@@ -201,7 +201,7 @@ static inline void nxbe_filltrapezoid_pwfb(FAR struct nxbe_window_s *wnd,
|
||||
struct nxgl_point_s origin;
|
||||
unsigned int bpp;
|
||||
|
||||
/* Both the rectangle that we receive here are in abolute device
|
||||
/* Both the rectangle that we receive here are in absolute device
|
||||
* coordinates. We need to restore both to windows relative coordinates.
|
||||
*/
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
* Name: nxbe_flush
|
||||
*
|
||||
* Description:
|
||||
* After per-window frambuffer has been updated, the modified region must
|
||||
* After per-window framebuffer has been updated, the modified region must
|
||||
* be written to device graphics memory. That function is managed by this
|
||||
* simple function. It does the following:
|
||||
*
|
||||
@@ -94,7 +94,7 @@ void nxbe_flush(FAR struct nxbe_window_s *wnd,
|
||||
|
||||
if (!NXBE_ISHIDDEN(wnd))
|
||||
{
|
||||
/* Copy the modified per-window frambuffer into device memory. */
|
||||
/* Copy the modified per-window framebuffer into device memory. */
|
||||
|
||||
nxbe_bitmap_dev(wnd, dest, src, origin, stride);
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ static inline void nxbe_getrectangle_pwfb(FAR struct nxbe_window_s *wnd,
|
||||
|
||||
DEBUGASSERT(pplane != NULL && pplane->pwfb.getrectangle != NULL);
|
||||
|
||||
/* The rectangle that we receive here is in abolute device coordinates.
|
||||
/* The rectangle that we receive here is in absolute device coordinates.
|
||||
* We need to restore this to windows relative coordinates.
|
||||
*/
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ void nxbe_lower(FAR struct nxbe_window_s *wnd)
|
||||
/* If the window is already at the bottom, then there is nothing to do.
|
||||
* Refuse to lower the background window; Refuse to lower a modal window.
|
||||
* It is impossible to lower a hidden window because it does not exist
|
||||
* in the hiearchy.
|
||||
* in the hierarchy.
|
||||
*/
|
||||
|
||||
if (wnd->below == NULL || wnd->below == &be->bkgd ||
|
||||
|
||||
@@ -336,7 +336,7 @@ static inline void nxbe_move_pwfb(FAR struct nxbe_window_s *wnd,
|
||||
struct nxgl_rect_s destrect;
|
||||
unsigned int bpp;
|
||||
|
||||
/* The rectangle that we receive here is in abolute device coordinates. We
|
||||
/* The rectangle that we receive here is in absolute device coordinates. We
|
||||
* need to restore this to windows relative coordinates.
|
||||
*/
|
||||
|
||||
|
||||
@@ -179,7 +179,7 @@ void nxbe_hide_window(FAR struct nxbe_window_s *wnd)
|
||||
*
|
||||
* Description:
|
||||
* Select if the window is visible or hidden. A hidden window is still
|
||||
* present will will update normally, but will be on the visiable on the
|
||||
* present will will update normally, but will be on the visible on the
|
||||
* display until it is unhidden.
|
||||
*
|
||||
* Input Parameters:
|
||||
|
||||
@@ -83,7 +83,7 @@ void NXGL_FUNCNAME(nxgl_copyrectangle, NXGLIB_SUFFIX)
|
||||
|
||||
deststride = pinfo->stride;
|
||||
|
||||
/* Get the dimensions of the rectange to fill: width in pixels,
|
||||
/* Get the dimensions of the rectangle to fill: width in pixels,
|
||||
* height in rows
|
||||
*/
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ void NXGL_FUNCNAME(nxgl_fillrectangle, NXGLIB_SUFFIX)
|
||||
|
||||
stride = pinfo->stride;
|
||||
|
||||
/* Get the dimensions of the rectange to fill in pixels */
|
||||
/* Get the dimensions of the rectangle to fill in pixels */
|
||||
|
||||
width = rect->pt2.x - rect->pt1.x + 1;
|
||||
rows = rect->pt2.y - rect->pt1.y + 1;
|
||||
|
||||
@@ -130,7 +130,7 @@ void NXGL_FUNCNAME(nxgl_getrectangle, NXGLIB_SUFFIX)
|
||||
|
||||
fbstride = pinfo->stride;
|
||||
|
||||
/* Get the dimensions of the rectange to copy: width in pixels, height
|
||||
/* Get the dimensions of the rectangle to copy: width in pixels, height
|
||||
* in rows
|
||||
*/
|
||||
|
||||
|
||||
@@ -132,7 +132,7 @@ void NXGL_FUNCNAME(nxgl_moverectangle,NXGLIB_SUFFIX)
|
||||
|
||||
stride = pinfo->stride;
|
||||
|
||||
/* Get the dimensions of the rectange to fill: width in pixels, height
|
||||
/* Get the dimensions of the rectangle to fill: width in pixels, height
|
||||
* in rows
|
||||
*/
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
* Name: nxgl_setpixel_*bpp
|
||||
*
|
||||
* Description:
|
||||
* Draw a single pixel in frambuffer memory at the given position and with
|
||||
* Draw a single pixel in framebuffer memory at the given position and with
|
||||
* the given color. This is equivalent to nxgl_fillrectangle_*bpp() with
|
||||
* a 1x1 rectangle but is more efficient.
|
||||
*
|
||||
@@ -105,7 +105,7 @@ void NXGL_FUNCNAME(nxgl_setpixel, NXGLIB_SUFFIX)
|
||||
mask = (15 << shift); /* Mask is 0x0f or 0xf0 */
|
||||
color <<= shift; /* Color is positioned under the mask */
|
||||
#else
|
||||
# error "Unsupport pixel depth"
|
||||
# error "Unsupported pixel depth"
|
||||
#endif
|
||||
|
||||
# else /* CONFIG_NX_PACKEDMSFIRST */
|
||||
@@ -123,7 +123,7 @@ void NXGL_FUNCNAME(nxgl_setpixel, NXGLIB_SUFFIX)
|
||||
mask = (15 << shift); /* Mask is 0x0f or 0xf0 */
|
||||
color <<= shift; /* Color is positioned under the mask */
|
||||
#else
|
||||
# error "Unsupport pixel depth"
|
||||
# error "Unsupported pixel depth"
|
||||
#endif
|
||||
#endif /* CONFIG_NX_PACKEDMSFIRST */
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ void NXGL_FUNCNAME(nxgl_copyrectangle, NXGLIB_SUFFIX)
|
||||
unsigned int remainder;
|
||||
#endif
|
||||
|
||||
/* Get the dimensions of the rectange to fill: width in pixels,
|
||||
/* Get the dimensions of the rectangle to fill: width in pixels,
|
||||
* height in rows
|
||||
*/
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ void NXGL_FUNCNAME(nxgl_fillrectangle, NXGLIB_SUFFIX)
|
||||
unsigned int ncols;
|
||||
unsigned int row;
|
||||
|
||||
/* Get the dimensions of the rectange to fill in pixels */
|
||||
/* Get the dimensions of the rectangle to fill in pixels */
|
||||
|
||||
ncols = rect->pt2.x - rect->pt1.x + 1;
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ void NXGL_FUNCNAME(nxgl_getrectangle, NXGLIB_SUFFIX)
|
||||
unsigned int ncols;
|
||||
unsigned int srcrow;
|
||||
|
||||
/* Get the width of the rectange to move in pixels. */
|
||||
/* Get the width of the rectangle to move in pixels. */
|
||||
|
||||
ncols = rect->pt2.x - rect->pt1.x + 1;
|
||||
|
||||
|
||||
@@ -69,7 +69,7 @@ void NXGL_FUNCNAME(nxgl_moverectangle, NXGLIB_SUFFIX)
|
||||
unsigned int srcrow;
|
||||
unsigned int destrow;
|
||||
|
||||
/* Get the width of the rectange to move in pixels. */
|
||||
/* Get the width of the rectangle to move in pixels. */
|
||||
|
||||
ncols = rect->pt2.x - rect->pt1.x + 1;
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ void NXGL_FUNCNAME(nxgl_setpixel, NXGLIB_SUFFIX)
|
||||
mask = (15 << shift); /* Mask is 0x0f or 0xf0 */
|
||||
color <<= shift; /* Color is positioned under the mask */
|
||||
#else
|
||||
# error "Unsupport pixel depth"
|
||||
# error "Unsupported pixel depth"
|
||||
#endif
|
||||
|
||||
# else /* CONFIG_NX_PACKEDMSFIRST */
|
||||
@@ -118,7 +118,7 @@ void NXGL_FUNCNAME(nxgl_setpixel, NXGLIB_SUFFIX)
|
||||
mask = (15 << shift); /* Mask is 0x0f or 0xf0 */
|
||||
color <<= shift; /* Color is positioned under the mask */
|
||||
#else
|
||||
# error "Unsupport pixel depth"
|
||||
# error "Unsupported pixel depth"
|
||||
#endif
|
||||
#endif /* CONFIG_NX_PACKEDMSFIRST */
|
||||
|
||||
|
||||
@@ -506,7 +506,7 @@ void nxglib_cursor_erase_32bpp(FAR struct nxbe_state_s *be,
|
||||
* Name: nxgl_cursor_backup_*bpp
|
||||
*
|
||||
* Description:
|
||||
* Save the backgroud image for subsequent use to erase the cursor from the
|
||||
* Save the background image for subsequent use to erase the cursor from the
|
||||
* device graphics memory.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
@@ -83,7 +83,7 @@ void NXGL_FUNCNAME(pwfb_copyrectangle, NXGLIB_SUFFIX)
|
||||
|
||||
deststride = bwnd->stride;
|
||||
|
||||
/* Get the dimensions of the rectange to fill: width in pixels,
|
||||
/* Get the dimensions of the rectangle to fill: width in pixels,
|
||||
* height in rows
|
||||
*/
|
||||
|
||||
|
||||
@@ -89,7 +89,7 @@ void NXGL_FUNCNAME(pwfb_fillrectangle, NXGLIB_SUFFIX)
|
||||
|
||||
stride = bwnd->stride;
|
||||
|
||||
/* Get the dimensions of the rectange to fill in pixels */
|
||||
/* Get the dimensions of the rectangle to fill in pixels */
|
||||
|
||||
width = rect->pt2.x - rect->pt1.x + 1;
|
||||
rows = rect->pt2.y - rect->pt1.y + 1;
|
||||
|
||||
@@ -131,7 +131,7 @@ void NXGL_FUNCNAME(pwfb_getrectangle, NXGLIB_SUFFIX)
|
||||
|
||||
fbstride = bwnd->stride;
|
||||
|
||||
/* Get the dimensions of the rectange to copy: width in pixels, height
|
||||
/* Get the dimensions of the rectangle to copy: width in pixels, height
|
||||
* in rows
|
||||
*/
|
||||
|
||||
|
||||
@@ -133,7 +133,7 @@ void NXGL_FUNCNAME(pwfb_moverectangle,NXGLIB_SUFFIX)
|
||||
|
||||
stride = bwnd->stride;
|
||||
|
||||
/* Get the dimensions of the rectange to fill: width in pixels, height
|
||||
/* Get the dimensions of the rectangle to fill: width in pixels, height
|
||||
* in rows
|
||||
*/
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
* Name: pwfb_setpixel_*bpp
|
||||
*
|
||||
* Description:
|
||||
* Draw a single pixel in frambuffer memory at the given position and with
|
||||
* Draw a single pixel in framebuffer memory at the given position and with
|
||||
* the given color. This is equivalent to nxgl_fillrectangle_*bpp() with
|
||||
* a 1x1 rectangle but is more efficient.
|
||||
*
|
||||
@@ -106,7 +106,7 @@ void NXGL_FUNCNAME(pwfb_setpixel, NXGLIB_SUFFIX)
|
||||
mask = (15 << shift); /* Mask is 0x0f or 0xf0 */
|
||||
color <<= shift; /* Color is positioned under the mask */
|
||||
#else
|
||||
# error "Unsupport pixel depth"
|
||||
# error "Unsupported pixel depth"
|
||||
#endif
|
||||
|
||||
# else /* CONFIG_NX_PACKEDMSFIRST */
|
||||
@@ -124,7 +124,7 @@ void NXGL_FUNCNAME(pwfb_setpixel, NXGLIB_SUFFIX)
|
||||
mask = (15 << shift); /* Mask is 0x0f or 0xf0 */
|
||||
color <<= shift; /* Color is positioned under the mask */
|
||||
#else
|
||||
# error "Unsupport pixel depth"
|
||||
# error "Unsupported pixel depth"
|
||||
#endif
|
||||
#endif /* CONFIG_NX_PACKEDMSFIRST */
|
||||
|
||||
|
||||
@@ -190,7 +190,7 @@ static inline int nxmu_setup(FAR const char *mqname, FAR NX_DRIVERTYPE *dev,
|
||||
#endif /* CONFIG_FB_CMAP */
|
||||
|
||||
/* Initialize the non-NULL elements of the server connection structure.
|
||||
* Oddly, this strcture represents the connection between the server and
|
||||
* Oddly, this structure represents the connection between the server and
|
||||
* itself.
|
||||
*
|
||||
* Open the incoming server MQ. The server receives messages on the
|
||||
|
||||
@@ -319,7 +319,7 @@ static int nxterm_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
||||
{
|
||||
/* NOTE: We don't need driver context here because the NXTERM handle
|
||||
* provided within each of the NXTERM IOCTL command data. Mutual
|
||||
* exclusion is similar managed by the IOCTL cmmand hendler.
|
||||
* exclusion is similar managed by the IOCTL cmmand handler.
|
||||
*
|
||||
* This permits the IOCTL to be called in abnormal context (such as
|
||||
* from boardctl())
|
||||
@@ -383,7 +383,7 @@ static int nxterm_unlink(FAR struct inode *inode)
|
||||
*
|
||||
* NOTE: We don't need driver context here because the NXTERM handle
|
||||
* provided within each of the NXTERM IOCTL command data. Mutual
|
||||
* exclusion is similar managed by the IOCTL cmmand hendler.
|
||||
* exclusion is similar managed by the IOCTL cmmand handler.
|
||||
*
|
||||
* This permits the IOCTL to be called in abnormal context (such as
|
||||
* from boardctl())
|
||||
|
||||
@@ -198,7 +198,7 @@ static enum nxterm_vt100state_e nxterm_vt100seq(FAR struct nxterm_state_s *priv,
|
||||
|
||||
/* The 'seqsize' is still smaller than the potential match(es). We
|
||||
* will need to collect more characters before we can make a decision.
|
||||
* Retun an indication that we have consumed the character.
|
||||
* Return an indication that we have consumed the character.
|
||||
*/
|
||||
|
||||
return VT100_CONSUMED;
|
||||
|
||||
@@ -121,7 +121,7 @@ static int up_putcmap(FAR struct fb_vtable_s *vtable,
|
||||
static int up_getcursor(FAR struct fb_vtable_s *vtable,
|
||||
FAR struct fb_cursorattrib_s *attrib);
|
||||
static int up_setcursor(FAR struct fb_vtable_s *vtable,
|
||||
FAR struct fb_setcursor_s *setttings);
|
||||
FAR struct fb_setcursor_s *settings);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
@@ -490,7 +490,7 @@ static inline int vnc_wait_start(int display)
|
||||
* started. But we might be here before the thread has gotten that far.
|
||||
*
|
||||
* If it has been allocated, then wait until it is in the INIITIALIZED
|
||||
* state. The INITIAILIZED states indicates tht the session structure
|
||||
* state. The INITIAILIZED states indicates that the session structure
|
||||
* has been allocated and fully initialized.
|
||||
*/
|
||||
|
||||
|
||||
@@ -326,7 +326,7 @@ int vnc_negotiate(FAR struct vnc_session_s *session)
|
||||
* framebuffer, its pixel format and the name associated with the desktop:"
|
||||
*
|
||||
* RealVNC client supports this resolutions:
|
||||
* Full (all availlable colors) - Max resolution of the platform (TrueColor)
|
||||
* Full (all available colors) - Max resolution of the platform (TrueColor)
|
||||
* Medium (256 colors) - 256 colors (Paletted)
|
||||
* Low (64 colors) - RGB8 2:2:2 (default, TrueColor)
|
||||
* Very Low (8 colors) - RGB3 1:1:1 (TrueColor)
|
||||
|
||||
@@ -480,7 +480,7 @@ int vnc_client_encodings(FAR struct vnc_session_s *session,
|
||||
|
||||
encoding = rfb_getbe32(&encodings->encodings[i << 2]);
|
||||
|
||||
/* Only a limited support for of RRE is vailable now. */
|
||||
/* Only a limited support for of RRE is available now. */
|
||||
|
||||
if (encoding == RFB_ENCODING_RRE)
|
||||
{
|
||||
|
||||
@@ -240,7 +240,7 @@ int vnc_server(int argc, FAR char *argv[])
|
||||
int display;
|
||||
int ret;
|
||||
|
||||
/* A single argument is expected: A diplay port number in ASCII form */
|
||||
/* A single argument is expected: A display port number in ASCII form */
|
||||
|
||||
if (argc != 2)
|
||||
{
|
||||
@@ -344,7 +344,7 @@ int vnc_server(int argc, FAR char *argv[])
|
||||
continue;
|
||||
}
|
||||
|
||||
/* Let the framebuffer driver know that we are ready to preform
|
||||
/* Let the framebuffer driver know that we are ready to perform
|
||||
* updates.
|
||||
*/
|
||||
|
||||
|
||||
@@ -376,7 +376,7 @@ static FAR void *vnc_updater(FAR void *arg)
|
||||
while (session->state == VNCSERVER_RUNNING)
|
||||
{
|
||||
/* Get the next queued rectangle update. This call will block until an
|
||||
* upate is available for the case where the update queue is empty.
|
||||
* update is available for the case where the update queue is empty.
|
||||
*/
|
||||
|
||||
srcrect = vnc_remove_queue(session);
|
||||
|
||||
Reference in New Issue
Block a user