From: bernie Date: Sun, 17 Aug 2008 10:24:24 +0000 (+0000) Subject: timer_setSoftInt(): rename from timer_set_event_softint(). X-Git-Tag: 2.0.0~291 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=46b32fefc02b4b8fc3a9ee1e7225f3053b514a02;p=bertos.git timer_setSoftInt(): rename from timer_set_event_softint(). git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1643 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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) {