diff --git a/cpu/native/lpm_cpu.c b/cpu/native/lpm_cpu.c index f8975831ad6c..a69066594678 100644 --- a/cpu/native/lpm_cpu.c +++ b/cpu/native/lpm_cpu.c @@ -71,7 +71,9 @@ void _native_lpm_sleep() /* otherwise select was interrupted because of a signal, continue below */ #else + _native_in_syscall++; // no switching here pause(); + _native_in_syscall--; #endif if (_native_sigpend > 0) {