From: Olivier Matz Date: Thu, 8 Aug 2013 17:57:28 +0000 (+0200) Subject: scheduler: fix compilation on atm328p X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=786eb47ef09b16bca6cd0c9ab0c0f3a9fd984dea;p=aversive.git scheduler: fix compilation on atm328p --- 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(); }