View Single Post
  #2   Spotlight this post!  
Unread 14-02-2004, 16:52
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Interrupt Handlers and Variable Scope

Quote:
Originally Posted by kaszeta
The problem is that the global variable I'm using isn't ever incremented or decremented, like a scope problem.
Put the keyword "volatile" in front of your global variable declaration. I put a description of what this does in this thread.