aboutsummaryrefslogtreecommitdiffstats
path: root/demos/GNU-Linux-GCC/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/GNU-Linux-GCC/main.c')
-rw-r--r--demos/GNU-Linux-GCC/main.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/demos/GNU-Linux-GCC/main.c b/demos/GNU-Linux-GCC/main.c
index 8d4dd7d2a..28e136bc8 100644
--- a/demos/GNU-Linux-GCC/main.c
+++ b/demos/GNU-Linux-GCC/main.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.
@@ -84,8 +84,8 @@ static msg_t console_thread(void *arg) {
/**
* @brief Shell termination handler.
- *
- * @param[in] id event id.
+ *
+ * @param[in] id event id.
*/
static void termination_handler(eventid_t id) {
@@ -179,25 +179,25 @@ int main(void) {
chSysInit();
/*
- * Serial ports (simulated) initialization.
+ * Serial ports (simulated) initialization.
*/
sdStart(&SD1, NULL);
sdStart(&SD2, NULL);
/*
- * Shell manager initialization.
+ * Shell manager initialization.
*/
shellInit();
chEvtRegister(&shell_terminated, &tel, 0);
/*
- * Console thread started.
+ * Console thread started.
*/
cdtp = chThdCreateFromHeap(NULL, CONSOLE_WA_SIZE, NORMALPRIO + 1,
console_thread, NULL);
/*
- * Initializing connection/disconnection events.
+ * Initializing connection/disconnection events.
*/
cputs("Shell service started on SD1, SD2");
cputs(" - Listening for connections on SD1");
@@ -208,13 +208,13 @@ int main(void) {
chEvtRegister(&SD2.sevent, &sd2fel, 2);
/*
- * Events servicing loop.
+ * Events servicing loop.
*/
while (!chThdShouldTerminate())
chEvtDispatch(fhandlers, chEvtWaitOne(ALL_EVENTS));
/*
- * Clean simulator exit.
+ * Clean simulator exit.
*/
chEvtUnregister(&SD1.sevent, &sd1fel);
chEvtUnregister(&SD2.sevent, &sd2fel);