AW: [En-Nut-Discussion] NutOS-3.4.2 hi-res timer BUG
Oliver Schulz
Oliver.Schulz at bong.de
Wed Apr 28 12:35:38 CEST 2004
Hi,
yes, it was corrected, but obviously in the wrong cvs branch.
I will commit the correct version to the branch nut-3_4_2-release.
Cheers,
Oliver.
> -----Ursprüngliche Nachricht-----
> Von: en-nut-discussion-bounces at egnite.de
> [mailto:en-nut-discussion-bounces at egnite.de]Im Auftrag von Damian Slee
> Gesendet: Mittwoch, 28. April 2004 11:05
> An: Ethernut User Chat (English)
> Betreff: RE: [En-Nut-Discussion] NutOS-3.4.2 hi-res timer BUG
>
>
> I believe that was reported a month or so ago. Should be in CVS
> already?
>
> -----Original Message-----
> From: en-nut-discussion-bounces at egnite.de
> [mailto:en-nut-discussion-bounces at egnite.de] On Behalf Of Tomas Konir
> Sent: Tuesday, April 27, 2004 1:08 PM
> To: en-nut-discussion at egnite.de
> Subject: [En-Nut-Discussion] NutOS-3.4.2 hi-res timer BUG
>
>
> Hi
> I found BUG in 1ms hi-res timer in NutOS. It's simple typing mistake.
> Patch is attached below.
>
> MOJE
>
> --- nut-original/os/timer.c 2004-03-05 21:38:41.000000000 +0100
> +++ nut/os/timer.c 2004-04-26 21:30:47.542828560 +0200
> @@ -634,7 +634,7 @@
> * register, so we'll get a compare match interrupt every
> * millisecond.
> */
> #ifdef __AVR_ATmega128__
> - outp(BV(CS00) | BV(CS20) | BV(WGM01), TCCR0);
> + outp(BV(CS00) | BV(CS02) | BV(WGM01), TCCR0);
> #else
> outp(BV(CS00) | BV(CS02) | BV(CTC0), TCCR0); #endif
>
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list