diff options
| author | geniusgogo <[email protected]> | 2017-05-23 11:04:22 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-05-23 11:04:22 +0800 |
| commit | 05052127c3fe2fcc8989e5cafa8099e7091a9a0c (patch) | |
| tree | 5f3090ba6854486749f1b61f15093e5743c1959a /src/idle.c | |
| parent | 387bbcc44fbd42254da931139a4a5551f8a85200 (diff) | |
Update idle.c
Diffstat (limited to 'src/idle.c')
| -rw-r--r-- | src/idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idle.c b/src/idle.c index 50d55657a1..b821c66fd9 100644 --- a/src/idle.c +++ b/src/idle.c @@ -185,7 +185,7 @@ static void rt_thread_idle_entry(void *parameter) { while (1) { - #if defined(RT_USING_IDLE_HOOK) && (RT_USING_IDLE_HOOK == 1) + #ifdef RT_USING_IDLE_HOOK if (rt_thread_idle_hook != RT_NULL) { rt_thread_idle_hook(); |
