diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-02-27 15:42:07 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2011-02-27 15:42:07 +0000 |
commit | 5690a26348fefe1bb3d972b932c791fa24021d23 (patch) | |
tree | 1a350b3fb02cc7bddae7d11cb54cdcb6a0629af5 /nuttx/arch/arm/src/common | |
parent | 5609ce5bee7d01a5f52194df0d9a7927b8c48aec (diff) |
Add support for the ISOTEL NetClamps VSN board
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3321 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/arch/arm/src/common')
-rw-r--r-- | nuttx/arch/arm/src/common/up_idle.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/common/up_idle.c b/nuttx/arch/arm/src/common/up_idle.c index 4927ce0e8e..ba6affb0e8 100644 --- a/nuttx/arch/arm/src/common/up_idle.c +++ b/nuttx/arch/arm/src/common/up_idle.c @@ -1,7 +1,7 @@ /**************************************************************************** * arch/arm/src/common/up_idle.c * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -83,5 +83,11 @@ void up_idle(void) sched_process_timer(); #endif + + /* Sleep until an interrupt occurs to save power */ + +#if 0 + asm("WFI"); /* For example */ +#endif } |