mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 06:53:52 +01:00
add lpm syscall barrier for native w/out UART
This commit is contained in:
parent
9a3b03eef4
commit
01e30016d6
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user