aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-10-17 07:35:31 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-10-17 07:35:31 +0000
commitd61cb88dab424a8edcf3b2a06a0c7ea18890208a (patch)
tree7814c223941fff2cbfe20ae2de67836582839cdc /demos
parent0c0d93a91e14e60c58148f65bde4d7f45a26c67c (diff)
downloadChibiOS-d61cb88dab424a8edcf3b2a06a0c7ea18890208a.tar.gz
ChibiOS-d61cb88dab424a8edcf3b2a06a0c7ea18890208a.tar.bz2
ChibiOS-d61cb88dab424a8edcf3b2a06a0c7ea18890208a.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1224 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-rw-r--r--demos/Win32-MinGW/chconf.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/demos/Win32-MinGW/chconf.h b/demos/Win32-MinGW/chconf.h
index fda335bc7..cef71f8c5 100644
--- a/demos/Win32-MinGW/chconf.h
+++ b/demos/Win32-MinGW/chconf.h
@@ -419,7 +419,9 @@
#define THREAD_EXT_FIELDS \
struct { \
/* Add threads custom fields here.*/ \
- /* The thread termination \p EventSource.*/ \ EventSource p_exitesource; \};
+ /* The thread termination \p EventSource.*/ \
+ EventSource p_exitesource; \
+};
#endif
/**
@@ -432,7 +434,8 @@ struct { \
#if !defined(THREAD_EXT_INIT) || defined(__DOXYGEN__)
#define THREAD_EXT_INIT(tp) { \
/* Add threads initialization code here.*/ \
- chEvtInit(&tp->p_exitesource); \}
+ chEvtInit(&tp->p_exitesource); \
+}
#endif
/**
@@ -446,7 +449,8 @@ struct { \
#if !defined(THREAD_EXT_EXIT) || defined(__DOXYGEN__)
#define THREAD_EXT_EXIT(tp) { \
/* Add threads finalization code here.*/ \
- chEvtBroadcastI(&currp->p_exitesource); \}
+ chEvtBroadcastI(&currp->p_exitesource); \
+}
#endif
/**
@@ -459,6 +463,8 @@ struct { \
}
#endif
-#define chThdGetExitEventSource(tp) (&(tp)->p_exitesource)#endif /* _CHCONF_H_ */
+#define chThdGetExitEventSource(tp) (&(tp)->p_exitesource)
+
+#endif /* _CHCONF_H_ */
/** @} */