1
0
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:
Ludwig Ortmann 2013-11-13 23:43:26 +01:00
parent 9a3b03eef4
commit 01e30016d6

View File

@ -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) {