diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-02-21 07:24:53 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-02-21 07:24:53 +0000 |
commit | 157b6f9695e7f72f2d54b231c19cb4045710ed01 (patch) | |
tree | a856d81bf5f173c207510fdeb7367e218f12b3db /demos/Win32-MinGW/main.c | |
parent | a90a90ffcf0f90b2a4b6c24dc5a60e72652549f1 (diff) | |
download | ChibiOS-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 'demos/Win32-MinGW/main.c')
-rw-r--r-- | demos/Win32-MinGW/main.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/demos/Win32-MinGW/main.c b/demos/Win32-MinGW/main.c index b43ad24db..1418b70ec 100644 --- a/demos/Win32-MinGW/main.c +++ b/demos/Win32-MinGW/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.
@@ -137,8 +137,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) {
@@ -230,25 +230,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");
@@ -259,13 +259,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);
|