aboutsummaryrefslogtreecommitdiff
path: root/nuttx/sched/work_cancel.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-07-14 19:30:31 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-07-14 19:30:31 +0000
commit4ea9aa3ff134d0d893be8f8eaa6955c8b35e405b (patch)
treeb34f7d2914cba8aeb9311c5bae3771af40054640 /nuttx/sched/work_cancel.c
parent876ffbd29fcd090094da7be50a9b2f26bb1bab02 (diff)
downloadpx4-firmware-4ea9aa3ff134d0d893be8f8eaa6955c8b35e405b.tar.gz
px4-firmware-4ea9aa3ff134d0d893be8f8eaa6955c8b35e405b.tar.bz2
px4-firmware-4ea9aa3ff134d0d893be8f8eaa6955c8b35e405b.zip
Fix STM32 F2/F4 SDIO clocking; Clean-up files in sched/ directory
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4940 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/sched/work_cancel.c')
-rw-r--r--nuttx/sched/work_cancel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/sched/work_cancel.c b/nuttx/sched/work_cancel.c
index f110eb4cc..c277f024d 100644
--- a/nuttx/sched/work_cancel.c
+++ b/nuttx/sched/work_cancel.c
@@ -2,7 +2,7 @@
* sched/work_cancel.c
*
* Copyright (C) 2009-2010 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
@@ -110,6 +110,7 @@ int work_cancel(struct work_s *work)
work->worker = NULL;
}
+
irqrestore(flags);
return OK;
}