Fix stm32_i2c_disablefsmc return value
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3943 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
d96149a9d1
commit
0c7b8db5f7
@ -390,7 +390,7 @@ static inline uint32_t stm32_i2c_disablefsmc(FAR struct stm32_i2c_priv_s *priv)
|
||||
regval = ret & ~RCC_AHBENR_FSMCEN;
|
||||
putreg32(regval, STM32_RCC_AHBENR);
|
||||
}
|
||||
return regval;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static inline void stm32_i2c_enablefsmc(uint32_t ahbenr)
|
||||
|
Loading…
Reference in New Issue
Block a user