diff options
Diffstat (limited to 'core/cortex-m0/task.c')
-rw-r--r-- | core/cortex-m0/task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cortex-m0/task.c b/core/cortex-m0/task.c index 32dabcaf19..9b3f8ce0ed 100644 --- a/core/cortex-m0/task.c +++ b/core/cortex-m0/task.c @@ -371,7 +371,7 @@ uint32_t task_set_event(task_id_t tskid, uint32_t event, int wait) * Trigger the scheduler when there's * no other irqs happening. */ - CPU_SCB_ICSR = (1 << 28); + CPU_SCB_ICSR = BIT(28); } } else { if (wait) { |