diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-03-27 22:33:15 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-03-27 22:33:15 +0000 |
commit | 1a975c0a58aa62cad758bbf931cdaaafe10de230 (patch) | |
tree | 111caacdbfa612f833be4c211ac0cfd537ccadcc /nuttx/graphics | |
parent | 1e104ed08752d7e9ca439e83ece80652de33fcb0 (diff) | |
download | px4-firmware-1a975c0a58aa62cad758bbf931cdaaafe10de230.tar.gz px4-firmware-1a975c0a58aa62cad758bbf931cdaaafe10de230.tar.bz2 px4-firmware-1a975c0a58aa62cad758bbf931cdaaafe10de230.zip |
Updaes for NX Console
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4531 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/graphics')
-rw-r--r-- | nuttx/graphics/nxbe/nxbe_redrawbelow.c | 4 | ||||
-rwxr-xr-x | nuttx/graphics/nxconsole/nxcon_driver.c | 4 | ||||
-rw-r--r-- | nuttx/graphics/nxsu/nx_openwindow.c | 4 | ||||
-rw-r--r-- | nuttx/graphics/nxsu/nx_setposition.c | 4 | ||||
-rw-r--r-- | nuttx/graphics/nxsu/nxsu_constructwindow.c | 6 | ||||
-rw-r--r-- | nuttx/graphics/nxtk/nxtk_internal.h | 4 | ||||
-rw-r--r-- | nuttx/graphics/nxtk/nxtk_setposition.c | 4 |
7 files changed, 15 insertions, 15 deletions
diff --git a/nuttx/graphics/nxbe/nxbe_redrawbelow.c b/nuttx/graphics/nxbe/nxbe_redrawbelow.c index 2716a26bf..c795e5fed 100644 --- a/nuttx/graphics/nxbe/nxbe_redrawbelow.c +++ b/nuttx/graphics/nxbe/nxbe_redrawbelow.c @@ -1,8 +1,8 @@ /**************************************************************************** * graphics/nxbe/nxbe_redraw.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Copyright (C) 2008-2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/graphics/nxconsole/nxcon_driver.c b/nuttx/graphics/nxconsole/nxcon_driver.c index 60ed3242a..dc7d5f353 100755 --- a/nuttx/graphics/nxconsole/nxcon_driver.c +++ b/nuttx/graphics/nxconsole/nxcon_driver.c @@ -104,9 +104,9 @@ static int nxcon_open(FAR struct file *filep) /* Verify that the driver is opened for write-only access */ - if ((filep->f_oflags & O_WROK) != 0) + if ((filep->f_oflags & O_RDOK) != 0) { - gdbg("Attempted open with write access\n"); + gdbg("Attempted open with read access\n"); return -EACCES; } diff --git a/nuttx/graphics/nxsu/nx_openwindow.c b/nuttx/graphics/nxsu/nx_openwindow.c index 57b47251b..64f4ed76d 100644 --- a/nuttx/graphics/nxsu/nx_openwindow.c +++ b/nuttx/graphics/nxsu/nx_openwindow.c @@ -1,8 +1,8 @@ /**************************************************************************** * graphics/nxsu/nx_openwindow.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Copyright (C) 2008-2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/graphics/nxsu/nx_setposition.c b/nuttx/graphics/nxsu/nx_setposition.c index fc6d5bdc3..ed0e5e3f4 100644 --- a/nuttx/graphics/nxsu/nx_setposition.c +++ b/nuttx/graphics/nxsu/nx_setposition.c @@ -1,8 +1,8 @@ /**************************************************************************** * graphics/nxsu/nx_setposition.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Copyright (C) 2008-2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/graphics/nxsu/nxsu_constructwindow.c b/nuttx/graphics/nxsu/nxsu_constructwindow.c index 8ad803005..f812b3f83 100644 --- a/nuttx/graphics/nxsu/nxsu_constructwindow.c +++ b/nuttx/graphics/nxsu/nxsu_constructwindow.c @@ -1,8 +1,8 @@ /**************************************************************************** * graphics/nxsu/nx_openwindow.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Copyright (C) 2008-2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -125,7 +125,7 @@ int nxfe_constructwindow(NXHANDLE handle, FAR struct nxbe_window_s *wnd, wnd->cb = cb; wnd->arg = arg; - /* Insert the new window at the top on the display. topwind is + /* Insert the new window at the top on the display. topwnd is * never NULL (it may point only at the background window, however) */ diff --git a/nuttx/graphics/nxtk/nxtk_internal.h b/nuttx/graphics/nxtk/nxtk_internal.h index f76304b78..5351048cf 100644 --- a/nuttx/graphics/nxtk/nxtk_internal.h +++ b/nuttx/graphics/nxtk/nxtk_internal.h @@ -1,8 +1,8 @@ /**************************************************************************** * graphics/nxtk/nxtk_internal.h * - * Copyright (C) 2008-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Copyright (C) 2008-2009, 2011-1021 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/nuttx/graphics/nxtk/nxtk_setposition.c b/nuttx/graphics/nxtk/nxtk_setposition.c index 3c744112b..2a2a60665 100644 --- a/nuttx/graphics/nxtk/nxtk_setposition.c +++ b/nuttx/graphics/nxtk/nxtk_setposition.c @@ -1,8 +1,8 @@ /**************************************************************************** * graphics/nxtk/nxtk_setposition.c * - * Copyright (C) 2008-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Copyright (C) 2008-2009, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions |