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:
parent
bca78dedd5
commit
86189d600e
@ -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();
|
||||
|
||||
@ -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--;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user