projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add reg definition for adc driver.
[bertos.git]
/
bertos
/
drv
/
timer.c
diff --git
a/bertos/drv/timer.c
b/bertos/drv/timer.c
index 4ace035cdac9875ba5df10119a7892e34c70fac9..e8508e047f18d3f767632eaf3809cd3bf5786ec0 100644
(file)
--- a/
bertos/drv/timer.c
+++ b/
bertos/drv/timer.c
@@
-52,7
+52,7
@@
#include <cpu/irq.h>
#include <cpu/power.h> // cpu_relax()
#include <cpu/irq.h>
#include <cpu/power.h> // cpu_relax()
-#include <kern/pr
eempt
.h> // proc_decQuantun()
+#include <kern/pr
oc_p
.h> // proc_decQuantun()
/*
* Include platform-specific binding code if we're hosted.
/*
* Include platform-specific binding code if we're hosted.
@@
-345,9
+345,6
@@
DEFINE_TIMER_ISR
TIMER_STROBE_ON;
TIMER_STROBE_ON;
- /* Perform hw IRQ handling */
- timer_hw_irq();
-
/* Update the master ms counter */
++_clock;
/* Update the master ms counter */
++_clock;
@@
-358,6
+355,9
@@
DEFINE_TIMER_ISR
timer_poll(&timers_queue);
#endif
timer_poll(&timers_queue);
#endif
+ /* Perform hw IRQ handling */
+ timer_hw_irq();
+
TIMER_STROBE_OFF;
}
TIMER_STROBE_OFF;
}