aboutsummaryrefslogtreecommitdiffstats
path: root/src/sched.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-03-10 22:12:05 -0500
committerKevin O'Connor <kevin@koconnor.net>2017-03-11 11:14:06 -0500
commit944d1768568239c4d9901726ff133bd43f56863e (patch)
tree9b7d89cef47ab31e23507e8db9b2226632ee5928 /src/sched.h
parentcdd5a772e8b8ef34de529207252c8130d62a87a2 (diff)
downloadkutter-944d1768568239c4d9901726ff133bd43f56863e.tar.gz
kutter-944d1768568239c4d9901726ff133bd43f56863e.tar.xz
kutter-944d1768568239c4d9901726ff133bd43f56863e.zip
sched: Rename sched_timer() to sched_add_timer()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/sched.h')
-rw-r--r--src/sched.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sched.h b/src/sched.h
index 9685317f..0c1820c3 100644
--- a/src/sched.h
+++ b/src/sched.h
@@ -12,7 +12,7 @@
// Declare a shutdown function (called on an emergency stop)
#define DECL_SHUTDOWN(FUNC) _DECL_CALLBACK(shutdownfuncs, FUNC)
-// Timer structure for scheduling timed events (see sched_timer() )
+// Timer structure for scheduling timed events (see sched_add_timer() )
struct timer {
struct timer *next;
uint_fast8_t (*func)(struct timer*);
@@ -26,7 +26,7 @@ uint8_t sched_check_periodic(uint16_t time, uint16_t *pnext);
uint32_t sched_from_us(uint32_t us);
uint32_t sched_read_time(void);
uint8_t sched_is_before(uint32_t time1, uint32_t time2);
-void sched_timer(struct timer*);
+void sched_add_timer(struct timer*);
void sched_del_timer(struct timer *del);
void sched_timer_kick(void);
uint8_t sched_is_shutdown(void);