diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-07 23:34:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-07 23:34:48 +0000 |
commit | 2ec8b9a0f5c8b7e7590cc5a7cc793eb249f449fe (patch) | |
tree | 0657bd5d2fe69185a4439dc25ed1b5a725878d97 /nuttx/arch/c5471/src/up_idle.c | |
parent | 1f754edf772673bababe1dc42dad095208525230 (diff) | |
download | px4-nuttx-2ec8b9a0f5c8b7e7590cc5a7cc793eb249f449fe.tar.gz px4-nuttx-2ec8b9a0f5c8b7e7590cc5a7cc793eb249f449fe.tar.bz2 px4-nuttx-2ec8b9a0f5c8b7e7590cc5a7cc793eb249f449fe.zip |
Working with c5471 interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@42 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/c5471/src/up_idle.c')
-rw-r--r-- | nuttx/arch/c5471/src/up_idle.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/arch/c5471/src/up_idle.c b/nuttx/arch/c5471/src/up_idle.c index 46177a3de..3ec71e50e 100644 --- a/nuttx/arch/c5471/src/up_idle.c +++ b/nuttx/arch/c5471/src/up_idle.c @@ -75,5 +75,12 @@ void up_idle(void) { +#ifdef CONFIG_SUPPRESS_INTERRUPTS + /* If the system is idle, then process "fake" timer interrupts. + * Hopefully, something will wake up. + */ + + sched_process_timer(); +#endif } |