aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-LPC214x-GCC/chcore.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ARM7-LPC214x-GCC/chcore.c')
-rw-r--r--demos/ARM7-LPC214x-GCC/chcore.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/demos/ARM7-LPC214x-GCC/chcore.c b/demos/ARM7-LPC214x-GCC/chcore.c
index 2f60c9d53..bf157cf43 100644
--- a/demos/ARM7-LPC214x-GCC/chcore.c
+++ b/demos/ARM7-LPC214x-GCC/chcore.c
@@ -140,14 +140,15 @@ void hwinit(void) {
InitBuzzer();
}
-void chSysPause(void) {
-
- chThdSetPriority(IDLEPRIO);
+/*
+ * System idle thread loop.
+ */
+void _IdleThread(void *p) {
while (TRUE) {
// Note, it is disabled because it causes trouble with the JTAG probe.
// Enable it in the final code only.
-// PCON = 1; /* Stops CPU clock until next interrupt. */
+// PCON = 1;
}
}