mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
cpu/arm7_common: Don't access sched_active_*
Replaced accesses to sched_active_* with API calls in C files
This commit is contained in:
parent
7abcc4242b
commit
da4979963d
@ -89,7 +89,8 @@ void thread_print_stack(void)
|
||||
__asm__("mov %0, sp" : "=r"(stack));
|
||||
|
||||
register unsigned int *s = (unsigned int *)stack;
|
||||
printf("task: %X SP: %X\n", (unsigned int) sched_active_thread, (unsigned int) stack);
|
||||
printf("task: %" PRIkernel_pid " SP: %X\n", thread_getpid(),
|
||||
(uintptr_t)stack);
|
||||
register int i = 0;
|
||||
s += 5;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user