> il manque le patch dans ton dernier message ;)
bien vu, il y en a qui suivent ;)
--- scheduler.c.old 2009-01-27 13:48:35.000000000 +0100
+++ scheduler.c 2009-01-27 13:52:25.000000000 +0100
@@ -43,10 +43,10 @@ void scheduler_init(void)
SCHEDULER_TIMER_REGISTER();
#else
/* activation of corresponding interrupt */
- sbi(TIMSK, TOIE0);
+ TOIE0_REG |= (1<<TOIE0); /* TIMSK */
- TCNT0 = 0;
- TCCR0 = SCHEDULER_CK;
+ TCNT0 = 0;
+ CS00_REG = SCHEDULER_CK; /* TCCR0 */
#endif
}
_______________________________________________
Avr-list mailing list
[email protected]
CVSWEB : http://cvsweb.droids-corp.org/cgi-bin/viewcvs.cgi/aversive
WIKI : http://wiki.droids-corp.org/index.php/Aversive
DOXYGEN : http://zer0.droids-corp.org/doxygen_aversive/html/
BUGZILLA : http://bugzilla.droids-corp.org
COMMIT LOGS : http://zer0.droids-corp.org/aversive_commitlog