From 786eb47ef09b16bca6cd0c9ab0c0f3a9fd984dea Mon Sep 17 00:00:00 2001 From: Olivier Matz Date: Thu, 8 Aug 2013 19:57:28 +0200 Subject: [PATCH] scheduler: fix compilation on atm328p --- modules/base/scheduler/scheduler.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/base/scheduler/scheduler.c b/modules/base/scheduler/scheduler.c index 32e0a79..13716e7 100644 --- a/modules/base/scheduler/scheduler.c +++ b/modules/base/scheduler/scheduler.c @@ -61,7 +61,11 @@ void scheduler_init(void) #ifdef CONFIG_MODULE_SCHEDULER_TIMER0 +#if defined(SIG_OVERFLOW0) SIGNAL(SIG_OVERFLOW0) +#else +SIGNAL(TIMER0_OVF_vect) +#endif { scheduler_interrupt(); } -- 2.39.5