diff options
| author | Bernard Xiong <[email protected]> | 2020-04-14 10:52:21 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-04-14 10:52:21 +0800 |
| commit | 05cd6eaad735880f7fa05c46bd841bc6a7ba2120 (patch) | |
| tree | 5e0960f23c26bd3f3c289bce57dc689559809a8c /src/timer.c | |
| parent | aaecf9414b97790dc17068ed366d6c3ab612dd49 (diff) | |
| parent | 310517b818ac4f0eb0655cf20bf4ba4543a911aa (diff) | |
Merge pull request #3511 from BernardXiong/kernel_object
Kernel object
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 0034f0246c..28a5a9e494 100644 --- a/src/timer.c +++ b/src/timer.c @@ -488,7 +488,7 @@ rt_err_t rt_timer_control(rt_timer_t timer, int cmd, void *arg) case RT_TIMER_CTRL_SET_PERIODIC: timer->parent.flag |= RT_TIMER_FLAG_PERIODIC; break; - /* zhaoshimin 20191204 add query the timer state */ + case RT_TIMER_CTRL_GET_STATE: if(timer->parent.flag & RT_TIMER_FLAG_ACTIVATED) { |
