fix gcc complains about 'alarm' shadowing a global declaration

git-svn-id: https://svn.openpcd.org:2342/trunk@243 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
This commit is contained in:
laforge 2006-10-01 20:30:41 +00:00
parent 6c0b462a2c
commit 79011bae80
1 changed files with 2 additions and 2 deletions

View File

@ -1320,9 +1320,9 @@ static inline void AT91F_RTTClearRttIncINT(
//* \brief Set RTT Alarm Value
//*--------------------------------------------------------------------------------------
static inline void AT91F_RTTSetAlarmValue(
AT91PS_RTTC pRTTC, unsigned int alarm)
AT91PS_RTTC pRTTC, unsigned int _alarm)
{
pRTTC->RTTC_RTAR = alarm;
pRTTC->RTTC_RTAR = _alarm;
}
//*--------------------------------------------------------------------------------------