summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/mouse/mouse_parser.c
diff options
context:
space:
mode:
authorMathew Kallada <matkallada@gmail.com>2012-12-21 11:13:06 -0600
committerJennifer Averett <jennifer.averett@oarcorp.com>2012-12-21 11:13:06 -0600
commitf5f267682478f7ccca40c9751ccc0dc01e76bd86 (patch)
tree912dbe12a0b467bfedfc8b07d0b562cc4dc9d8f5 /cpukit/libmisc/mouse/mouse_parser.c
parentlibblock: Use rtems_blkdev_create_partition() (diff)
downloadrtems-f5f267682478f7ccca40c9751ccc0dc01e76bd86.tar.bz2
libmisc: Doxygen Enhancement Task #1
Diffstat (limited to 'cpukit/libmisc/mouse/mouse_parser.c')
-rw-r--r--cpukit/libmisc/mouse/mouse_parser.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/libmisc/mouse/mouse_parser.c b/cpukit/libmisc/mouse/mouse_parser.c
index 2f96e1567f..6ca871bf52 100644
--- a/cpukit/libmisc/mouse/mouse_parser.c
+++ b/cpukit/libmisc/mouse/mouse_parser.c
@@ -1,3 +1,10 @@
+/**
+ * @file
+ *
+ * @brief Opens a Serial Port Directly, and Interprets Serial Data
+ * @ingroup libmisc_mouse Mouse Parser Engine
+ */
+
/*
* This code is derived from a UNIX Serial Port Mouse Driver with
* the following notice:
@@ -19,7 +26,7 @@
* ==================================================================
*
* It has been modified to support the concept of being just a parser
- * fed data from an arbitrary source. It is independent of either
+ * fed data from an arbitrary source. It is independent of either
* a PS/2 driver or a serial port.
*
* It was moved to cpukit/libmisc/mouse by Joel Sherrill.
@@ -135,7 +142,7 @@ static int MOU_Data( int ch, COORD *dx, COORD *dy, COORD *dz, BUTTON *bptr)
if ( !parse ) {
printk( "Mouse parser is not initialized!\n" );
return -1;
- }
+ }
/*
* Loop over all the bytes read in the buffer, parsing them.