diff options
| author | bernard <[email protected]> | 2017-10-15 22:31:53 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-10-15 22:31:53 +0800 |
| commit | b27c7e482648535760e012cd6f1afef1d800e2d2 (patch) | |
| tree | ad040fd4e7579e67ba6ee2edae468b63f2099a0e /src/timer.c | |
| parent | cd215b25455bf06dfeb8885fe4d8f5b30174a8c3 (diff) | |
[Kernel] Add signal implementation.
1. Add signal implementation;
2. Change the 'rt_uint8_t' of cmd to 'int';
Diffstat (limited to 'src/timer.c')
| -rw-r--r-- | src/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
