aboutsummaryrefslogtreecommitdiffstats
path: root/os/various/shell.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-02-21 07:24:53 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-02-21 07:24:53 +0000
commit157b6f9695e7f72f2d54b231c19cb4045710ed01 (patch)
treea856d81bf5f173c207510fdeb7367e218f12b3db /os/various/shell.c
parenta90a90ffcf0f90b2a4b6c24dc5a60e72652549f1 (diff)
downloadChibiOS-157b6f9695e7f72f2d54b231c19cb4045710ed01.tar.gz
ChibiOS-157b6f9695e7f72f2d54b231c19cb4045710ed01.tar.bz2
ChibiOS-157b6f9695e7f72f2d54b231c19cb4045710ed01.zip
Updated license dates.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1646 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/various/shell.c')
-rw-r--r--os/various/shell.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/os/various/shell.c b/os/various/shell.c
index b8423e147..41c78b1d8 100644
--- a/os/various/shell.c
+++ b/os/various/shell.c
@@ -1,5 +1,5 @@
/*
- ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010 Giovanni Di Sirio.
This file is part of ChibiOS/RT.
@@ -35,7 +35,7 @@
#endif
/**
- * @brief Shell termination event source.
+ * @brief Shell termination event source.
*/
EventSource shell_terminated;
@@ -107,7 +107,7 @@ static void cmd_systime(BaseChannel *chp, int argc, char *argv[]) {
}
/**
- * @brief Array of the default commands.
+ * @brief Array of the default commands.
*/
static ShellCommand local_commands[] = {
{"info", cmd_info},
@@ -130,11 +130,11 @@ static bool_t cmdexec(const ShellCommand *scp, BaseChannel *chp,
/**
* @brief Shell thread function.
- *
- * @param[in] p pointer to a @p BaseChannel object
+ *
+ * @param[in] p pointer to a @p BaseChannel object
* @return Termination reason.
* @retval RDY_OK terminated by command.
- * @retval RDY_RESET terminated by reset condition on the I/O channel.
+ * @retval RDY_RESET terminated by reset condition on the I/O channel.
*/
static msg_t shell_thread(void *p) {
int n;
@@ -192,7 +192,7 @@ static msg_t shell_thread(void *p) {
}
/**
- * @brief Shell manager initialization.
+ * @brief Shell manager initialization.
*/
void shellInit(void) {
@@ -201,8 +201,8 @@ void shellInit(void) {
/**
* @brief Spawns a new shell.
- *
- * @param[in] scp pointer to a @p ShellConfig object
+ *
+ * @param[in] scp pointer to a @p ShellConfig object
* @param[in] size size of the shell working area to be allocated
* @param[in] prio the priority level for the new shell
*
@@ -216,9 +216,9 @@ Thread *shellCreate(const ShellConfig *scp, size_t size, tprio_t prio) {
/**
* @brief Prints a string.
- *
+ *
* @param[in] chp pointer to a @p BaseChannel object
- * @param[in] msg pointer to the string
+ * @param[in] msg pointer to the string
*/
void shellPrint(BaseChannel *chp, const char *msg) {
@@ -240,11 +240,11 @@ void shellPrintLine(BaseChannel *chp, const char *msg) {
/**
* @brief Reads a whole line from the input channel.
- *
+ *
* @param[in] chp pointer to a @p BaseChannel object
- * @param[in] line pointer to the line buffer
+ * @param[in] line pointer to the line buffer
* @param[in] size buffer maximum length
- *
+ *
* @return The operation status.
* @retval TRUE the channel was reset or CTRL-D pressed.
* @retval FALSE operation successful.