diff --git a/cpu/atmega_common/include/cpu_conf.h b/cpu/atmega_common/include/cpu_conf.h index d20bea4eb2..43d43afcd4 100644 --- a/cpu/atmega_common/include/cpu_conf.h +++ b/cpu/atmega_common/include/cpu_conf.h @@ -49,7 +49,7 @@ extern "C" { * to avoid not printing of debug in interrupts */ #ifndef THREAD_STACKSIZE_IDLE -#ifdef MODULE_XTIMER +#if MODULE_XTIMER || MODULE_ZTIMER64 /* xtimer's 64 bit arithmetic doesn't perform well on 8 bit archs. In order to * prevent a stack overflow when an timer triggers while the idle thread is * running, we have to increase the stack size then