From 2645fcfb9f3126ea7a63dfdcc5810135d11cfd0b Mon Sep 17 00:00:00 2001 From: asterix Date: Tue, 2 Dec 2008 15:13:16 +0000 Subject: [PATCH] Typo. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1958 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/avr/drv/timer_avr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } -- 2.25.1