timeout loop variable should be volatile

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2188 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-10-29 21:16:57 +00:00
parent 1a446309bd
commit d5eafc909e

View File

@ -380,7 +380,7 @@ static inline void rcc_enableapb2(void)
void stm32_clockconfig(void)
{
uint32 regval;
sint32 timeout;
volatile sint32 timeout;
/* Make sure that we are starting in the reset state */