timer_setSoftInt(): rename from timer_set_event_softint().
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 17 Aug 2008 10:24:24 +0000 (10:24 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 17 Aug 2008 10:24:24 +0000 (10:24 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1643 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/drv/timer.h

index 380b8c34c1df69df680f516ff223e536af333a8f..2e1dcdbecd292e28529336988b2977052f0c3c23 100644 (file)
@@ -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)
 {