|
| 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/
| [Prev in Thread] | Current Thread | [Next in Thread] |