Name uc_timers_XXX consistently
This commit is contained in:
@@ -92,17 +92,17 @@ void uc_timers_init_ex(struct UCTimers *t, struct UCoreClock *uclock);
|
||||
* @param sec seconds from now until the timer filres
|
||||
* @param usec microseconds (after the @sec) until the timer fires.
|
||||
*/
|
||||
void uc_timer_add(struct UCTimers *timers, struct UCTimer *timer, int sec, int usec);
|
||||
void uc_timers_add(struct UCTimers *timers, struct UCTimer *timer, int sec, int usec);
|
||||
|
||||
/** Remove a timer.
|
||||
* Note, the timer memory must have been zeroed out or the timer must have been added at least once
|
||||
* before uc_timer_remove can be called on a UCTimer.
|
||||
* uc_timer_remove does nothing if the timer has expired.
|
||||
* before uc_timers_remove can be called on a UCTimer.
|
||||
* uc_timers_remove does nothing if the timer has expired.
|
||||
*
|
||||
* @param timers timer engine to remove from
|
||||
* @param timer timer to remove
|
||||
*/
|
||||
void uc_timer_remove(struct UCTimers *timers, struct UCTimer *timer);
|
||||
void uc_timers_remove(struct UCTimers *timers, struct UCTimer *timer);
|
||||
|
||||
/** Get time of the first timer that will run.
|
||||
*
|
||||
@@ -118,7 +118,7 @@ int uc_timers_first(const struct UCTimers *timers, struct timeval *first);
|
||||
* @param timers timer engine to query
|
||||
* @return the number of timers the engine keeps
|
||||
*/
|
||||
size_t uc_timer_count(const struct UCTimers *timers);
|
||||
size_t uc_timers_count(const struct UCTimers *timers);
|
||||
|
||||
/** Check if a timer is running (i.e. hasn't expired and fired)
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user