diff options
| author | Meco Man <[email protected]> | 2021-03-08 17:22:21 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-03-08 17:22:21 +0800 |
| commit | 2fd265406edc642dc083ecc76b286611b4585c64 (patch) | |
| tree | 655abfa1bb0e67636bc689ad8f265cfc8a5a8753 /include/rthw.h | |
| parent | ce86058201432e865b8d7c4096b3675642a43a42 (diff) | |
[include] auto formatted
Diffstat (limited to 'include/rthw.h')
| -rw-r--r-- | include/rthw.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rthw.h b/include/rthw.h index 89877faf90..5672a8f992 100644 --- a/include/rthw.h +++ b/include/rthw.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2006-2018, RT-Thread Development Team + * Copyright (c) 2006-2021, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * @@ -181,7 +181,7 @@ void rt_hw_secondary_cpu_up(void); void rt_hw_secondary_cpu_idle_exec(void); #else -#define RT_DEFINE_SPINLOCK(x) +#define RT_DEFINE_SPINLOCK(x) #define RT_DECLARE_SPINLOCK(x) rt_ubase_t x #define rt_hw_spin_lock(lock) *(lock) = rt_hw_interrupt_disable() |
