Added some porting to AT91SAM7S while playing with IAR compiler.

This commit is contained in:
skarg
2013-01-08 20:51:29 +00:00
parent cf882642a8
commit a576c29ae4
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -303,7 +303,7 @@ static void Timer0IrqHandler(
{
volatile AT91PS_TC pTC = AT91C_BASE_TC0; /* pointer to timer channel 0 register structure */
unsigned int dummy; /* temporary */
volatile unsigned int dummy; /* temporary */
/* read TC0 Status Register to clear interrupt */
dummy = pTC->TC_SR;