1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

force-debug (eINT && in_isr) in DEVELHELP

This commit is contained in:
Ludwig Ortmann 2014-01-29 15:57:10 +01:00
parent 6f5d4dcdb4
commit 796b656e31

View File

@ -174,13 +174,17 @@ unsigned enableIRQ(void)
{
unsigned int prev_state;
if (_native_in_isr == 1) {
#if DEVELHELP
real_write(STDERR_FILENO, "enableIRQ + _native_in_isr\n", 27);
#else
DEBUG("enableIRQ + _native_in_isr\n");
#endif
}
_native_syscall_enter();
DEBUG("enableIRQ()\n");
if (_native_in_isr == 1) {
DEBUG("enableIRQ + _native_in_isr\n");
}
if (sigprocmask(SIG_SETMASK, &_native_sig_set, NULL) == -1) {
err(EXIT_FAILURE, "enableIRQ(): sigprocmask()");
}