From: asterix Date: Tue, 2 Dec 2008 15:13:16 +0000 (+0000) Subject: Typo. X-Git-Tag: 2.1.0~724 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=2645fcfb9f3126ea7a63dfdcc5810135d11cfd0b;p=bertos.git Typo. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1958 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/avr/drv/timer_avr.c b/bertos/cpu/avr/drv/timer_avr.c index b224a902..291f205d 100644 --- a/bertos/cpu/avr/drv/timer_avr.c +++ b/bertos/cpu/avr/drv/timer_avr.c @@ -79,8 +79,8 @@ #define REG_TIMSK0 TIMSK #define REG_TIMSK2 TIMSK - #define REG_TCCR2A TCCR0 - #define REG_TCCR2B TCCR0 + #define REG_TCCR0A TCCR0 + #define REG_TCCR0B TCCR0 #define REG_TCCR2A TCCR2 #define REG_TCCR2B TCCR2 @@ -133,7 +133,7 @@ /* Enable timer interrupts: Timer/Counter2 Output Compare (OCIE2) */ REG_TIMSK0 &= ~BV(TOIE0); - REG_TIMSK0 |= BV(OCIE0A); + REG_TIMSK0 |= BV(BIT_OCIE0A); IRQ_RESTORE(flags); }