]> git.droids-corp.org - aversive.git/commitdiff
scheduler: fix compilation on atm328p
authorOlivier Matz <zer0@droids-corp.org>
Thu, 8 Aug 2013 17:57:28 +0000 (19:57 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Thu, 8 Aug 2013 17:59:13 +0000 (19:59 +0200)
modules/base/scheduler/scheduler.c

index 32e0a79b66ec92c56d704e31d7792d37963a71ad..13716e7ca25f6bf68f422ab5d559f244b3b4471f 100644 (file)
@@ -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();
 }