From 46b32fefc02b4b8fc3a9ee1e7225f3053b514a02 Mon Sep 17 00:00:00 2001 From: bernie Date: Sun, 17 Aug 2008 10:24:24 +0000 Subject: [PATCH] timer_setSoftInt(): rename from timer_set_event_softint(). git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1643 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/drv/timer.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bertos/drv/timer.h b/bertos/drv/timer.h index 380b8c34..2e1dcdbe 100644 --- a/bertos/drv/timer.h +++ b/bertos/drv/timer.h @@ -228,11 +228,14 @@ void timer_add(Timer *timer); Timer *timer_abort(Timer *timer); /** Set the timer so that it calls an user hook when it expires */ -INLINE void timer_set_event_softint(Timer *timer, Hook func, iptr_t user_data) +INLINE void timer_setSoftInt(Timer *timer, Hook func, iptr_t user_data) { event_initSoftInt(&timer->expire, func, user_data); } +// OBSOLETE +#define timer_set_event_softint timer_setSoftInt + /** Set the timer delay (the time before the event will be triggered) */ INLINE void timer_setDelay(Timer *timer, ticks_t delay) { -- 2.25.1