1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/ps: only show isr stack stats if applicable

This commit is contained in:
Hauke Petersen 2017-05-12 17:59:41 +02:00
parent f5a4124866
commit 383d49412e

View File

@ -72,7 +72,7 @@ void ps(void)
#endif
"state");
#ifdef DEVELHELP
#if defined(DEVELHELP) && defined(ISR_STACKSIZE)
int isr_usage = thread_arch_isr_stack_usage();
void *isr_start = thread_arch_isr_stack_start();
void *isr_sp = thread_arch_isr_stack_pointer();