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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/ARM7-LPC214x-GCC/chcore.c b/demos/ARM7-LPC214x-GCC/chcore.c
index 3d72c20db..d06e57657 100644
--- a/demos/ARM7-LPC214x-GCC/chcore.c
+++ b/demos/ARM7-LPC214x-GCC/chcore.c
@@ -145,6 +145,8 @@ void hwinit(void) {
void chSysPause(void) {
+ chThdSetPriority(IDLEPRIO);
+
while (TRUE) {
// Note, it is disabled because it causes trouble with the JTAG probe.
// Enable it in the final code only.