aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-29 08:31:53 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-29 08:31:53 +0000
commit9d1013bf3117d74c668f2430c80f49271703737e (patch)
tree84ccc68d98cdb556b10805a81ef7717c721f887a /demos
parentbc0373893f147f1f6e3155f04965ca06b9cbff18 (diff)
downloadChibiOS-9d1013bf3117d74c668f2430c80f49271703737e.tar.gz
ChibiOS-9d1013bf3117d74c668f2430c80f49271703737e.tar.bz2
ChibiOS-9d1013bf3117d74c668f2430c80f49271703737e.zip
Fixed bug 3570532.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4725 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/Posix-GCC/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/demos/Posix-GCC/main.c b/demos/Posix-GCC/main.c
index bcdc6636b..7514faebf 100644
--- a/demos/Posix-GCC/main.c
+++ b/demos/Posix-GCC/main.c
@@ -18,8 +18,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdio.h>
-
#include "ch.h"
#include "hal.h"
#include "test.h"
@@ -107,7 +105,7 @@ static const ShellConfig shell_cfg2 = {
/*
* Console print server done using synchronous messages. This makes the access
* to the C printf() thread safe and the print operation atomic among threads.
- * In this example the message is the zero termitated string itself.
+ * In this example the message is the zero terminated string itself.
*/
static msg_t console_thread(void *arg) {
@@ -205,7 +203,7 @@ static evhandler_t fhandlers[] = {
* Simulator main. *
*------------------------------------------------------------------------*/
int main(void) {
- EventListener sd1fel, sd2fel, tel;
+ EventListener tel;
/*
* System initializations.