avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Problem with interrupt handler?


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Problem with interrupt handler?
Date: Fri, 19 Oct 2001 17:12:24 +0200 (MET DST)

Chris Baugher <address@hidden> wrote:

> static unsigned char ix=0;
> 
> SIGNAL(SIG_OVERFLOW0)
> {
>       ++ix;
> }

Btw., the variable `ix' should be declared `volatile'.

-- 
J"org Wunsch                                           Unix support engineer
address@hidden        http://www.interface-systems.de/~j/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]