diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-06-06 01:44:57 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-06-06 01:44:57 +0000 |
commit | 4c222bcab1917327a42bb8d33be29912b8b77503 (patch) | |
tree | e47988218982531e9c9d129ce3170d7efe1a3534 /nuttx/mm | |
parent | 930b5b836c4dd18025c25e637948d6bd91c100ed (diff) | |
download | px4-firmware-4c222bcab1917327a42bb8d33be29912b8b77503.tar.gz px4-firmware-4c222bcab1917327a42bb8d33be29912b8b77503.tar.bz2 px4-firmware-4c222bcab1917327a42bb8d33be29912b8b77503.zip |
Fix a bad interrupt state in the PIC32 IDLE loop when the work queue is enabled
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4805 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/mm')
-rw-r--r-- | nuttx/mm/mm_sem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/mm/mm_sem.c b/nuttx/mm/mm_sem.c index 4b7563c0b..a2d9d5cd1 100644 --- a/nuttx/mm/mm_sem.c +++ b/nuttx/mm/mm_sem.c @@ -2,7 +2,7 @@ * mm/mm_sem.c * * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -129,7 +129,7 @@ int mm_trysemaphore(void) } else { - /* Try to tak the semaphore (perhaps waiting) */ + /* Try to take the semaphore (perhaps waiting) */ if (sem_trywait(&g_mm_semaphore) != 0) { |