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:
parent
1a446309bd
commit
d5eafc909e
@ -380,7 +380,7 @@ static inline void rcc_enableapb2(void)
|
|||||||
void stm32_clockconfig(void)
|
void stm32_clockconfig(void)
|
||||||
{
|
{
|
||||||
uint32 regval;
|
uint32 regval;
|
||||||
sint32 timeout;
|
volatile sint32 timeout;
|
||||||
|
|
||||||
/* Make sure that we are starting in the reset state */
|
/* Make sure that we are starting in the reset state */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user