aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/chcore.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-11-18 09:45:45 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-11-18 09:45:45 +0000
commit4fc627f08b942df8312ad02f24a361b18c4b790b (patch)
tree04258a6a07f8982114d883b55f71b89080e4d0bd /src/templates/chcore.c
parent195a9c7951c29828d7eddefcd77d7a98d18f75f3 (diff)
downloadChibiOS-4fc627f08b942df8312ad02f24a361b18c4b790b.tar.gz
ChibiOS-4fc627f08b942df8312ad02f24a361b18c4b790b.tar.bz2
ChibiOS-4fc627f08b942df8312ad02f24a361b18c4b790b.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@95 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/templates/chcore.c')
-rw-r--r--src/templates/chcore.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/templates/chcore.c b/src/templates/chcore.c
index bc8c68b90..ec2b39592 100644
--- a/src/templates/chcore.c
+++ b/src/templates/chcore.c
@@ -36,9 +36,7 @@
* The priority is internally set to the minimum system value so that this
* thread is executed only if there are no other ready threads in the system.
*/
-void chSysPause(void) {
-
- chThdSetPriority(IDLEPRIO);
+void _IdleThread(void *p) {
while (TRUE)
;