1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00

core: remove remaining dINT occurences

This commit is contained in:
Ludwig Ortmann 2014-12-04 17:17:24 +01:00
parent bca78dedd5
commit 86189d600e
2 changed files with 3 additions and 2 deletions

View File

@ -31,6 +31,7 @@
#include "lpm.h"
#include "thread.h"
#include "hwtimer.h"
#include "irq.h"
#define ENABLE_DEBUG (0)
#include "debug.h"
@ -80,7 +81,7 @@ static char idle_stack[KERNEL_CONF_STACKSIZE_IDLE];
void kernel_init(void)
{
dINT();
(void) disableIRQ();
printf("kernel_init(): This is RIOT! (Version: %s)\n", RIOT_VERSION);
hwtimer_init();

View File

@ -172,7 +172,7 @@ NORETURN void sched_task_exit(void)
{
DEBUG("sched_task_exit: ending thread %" PRIkernel_pid "...\n", sched_active_thread->pid);
dINT();
(void) disableIRQ();
sched_threads[sched_active_pid] = NULL;
sched_num_threads--;