From b27c7e482648535760e012cd6f1afef1d800e2d2 Mon Sep 17 00:00:00 2001 From: bernard Date: Sun, 15 Oct 2017 22:31:53 +0800 Subject: [Kernel] Add signal implementation. 1. Add signal implementation; 2. Change the 'rt_uint8_t' of cmd to 'int'; --- src/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/timer.c') diff --git a/src/timer.c b/src/timer.c index 1543870aa4..c56a453a3c 100644 --- a/src/timer.c +++ b/src/timer.c @@ -451,7 +451,7 @@ RTM_EXPORT(rt_timer_stop); * * @return RT_EOK */ -rt_err_t rt_timer_control(rt_timer_t timer, rt_uint8_t cmd, void *arg) +rt_err_t rt_timer_control(rt_timer_t timer, int cmd, void *arg) { /* timer check */ RT_ASSERT(timer != RT_NULL); -- cgit v1.3.1