Commit from zer0 on branch b_zer0 (2009-01-29 00:26 CET)
=================================

Allow compilation for more archs.

  aversive  modules/base/scheduler/scheduler.c  1.9.4.5


===========================================
aversive/modules/base/scheduler/scheduler.c  (1.9.4.4 -> 1.9.4.5)
===========================================

@@ -15,7 +15,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  *
- *  Revision : $Id: scheduler.c,v 1.9.4.4 2007-11-27 23:16:14 zer0 Exp $
+ *  Revision : $Id: scheduler.c,v 1.9.4.5 2009-01-28 23:26:01 zer0 Exp $
  *
  */
 
@@ -45,10 +45,10 @@
 
 #ifdef CONFIG_MODULE_SCHEDULER_TIMER0
        /* activation of corresponding interrupt */
-       sbi(TIMSK, TOIE0); 
+       TOIE0_REG |= (1<<TOIE0); /* TIMSK */
 
        TCNT0 = 0; 
-       TCCR0 = SCHEDULER_CK; 
+       CS00_REG = SCHEDULER_CK; /* TCCR0 */
 #endif
 }
 

_______________________________________________
Avr-list mailing list
Avr-list@droids-corp.org
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

Répondre à