From 00c6f5ea40f97385dce7ab7b9d20bc0cb909ad23 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 6 Oct 2007 09:53:07 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@40 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARM7-LPC214x-GCC/chcore.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'demos/ARM7-LPC214x-GCC') 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. -- cgit v1.2.3