diff options
| author | [email protected] <[email protected]> | 2012-05-05 01:45:17 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-05-05 01:45:17 +0000 |
| commit | b14044212be4d19736a518f66a51a1148d3c3002 (patch) | |
| tree | 9d07f8711368e04447ff03ff39d24f1952b833a3 /src/clock.c | |
| parent | e01d425bf3fc423f837ac4b00fb3d90050fe7490 (diff) | |
remove soft timer tick increase
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2108 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/clock.c')
| -rw-r--r-- | src/clock.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/clock.c b/src/clock.c index 418ba498b9..8d547e30fb 100644 --- a/src/clock.c +++ b/src/clock.c @@ -59,10 +59,9 @@ rt_tick_t rt_tick_get(void) void rt_tick_set(rt_tick_t tick) { rt_base_t level; - level = rt_hw_interrupt_disable(); + level = rt_hw_interrupt_disable(); rt_tick = tick; - rt_hw_interrupt_enable(level); } |
