projects
/
bertos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
42cfb32
)
Do not use scheduler macros for now.
author
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 29 Jan 2008 11:46:34 +0000
(11:46 +0000)
committer
batt
<batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 29 Jan 2008 11:46:34 +0000
(11:46 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1072
38d2e660
-2303-0410-9eaa-
f027e97ec537
drv/timer.c
patch
|
blob
|
history
diff --git
a/drv/timer.c
b/drv/timer.c
index 3805e3b0189f9c846738151de8e2a8b658076c57..45ce64b44a892165bb5247c9d7b63c1b49fbdf58 100644
(file)
--- a/
drv/timer.c
+++ b/
drv/timer.c
@@
-263,8
+263,6
@@
void timer_delayHp(hptime_t delay)
*/
DEFINE_TIMER_ISR
{
- SCHEDULER_IRQ_ENTRY;
-
/*
* With the Metrowerks compiler, the only way to force the compiler generate
* an interrupt service routine is to put a pragma directive within the function
@@
-282,7
+280,7
@@
DEFINE_TIMER_ISR
* to ensure that IRQ is generated by timer source.
*/
if (!timer_hw_triggered())
-
SCHEDULER_IRQ_EXIT
;
+
return
;
TIMER_STROBE_ON;
@@
-316,8
+314,6
@@
DEFINE_TIMER_ISR
#endif /* CONFIG_TIMER_DISABLE_EVENTS */
TIMER_STROBE_OFF;
-
- SCHEDULER_IRQ_EXIT;
}
MOD_DEFINE(timer)