From 2d92661b76ca21f93230c05bbe05669acef54718 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Mon, 27 Feb 2017 16:10:12 +0100 Subject: [PATCH] cpu: native: fix thread_yield_higher inisr() case --- cpu/native/native_cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/native/native_cpu.c b/cpu/native/native_cpu.c index 38a5c82fc8..73f5608266 100644 --- a/cpu/native/native_cpu.c +++ b/cpu/native/native_cpu.c @@ -225,7 +225,7 @@ void thread_yield_higher(void) irq_enable(); } else { - isr_thread_yield(); + sched_context_switch_request = 1; } }