mirror of
https://github.com/apache/nuttx.git
synced 2026-10-14 09:41:53 +00:00
Merged in david_s5/nuttx/upstream_stm32_build_fixes (pull request #293)
stm32_i2c_alt:Move def of regval to top func def per CS Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
commit
1ad123bb91
1 changed files with 3 additions and 0 deletions
|
|
@ -1204,6 +1204,9 @@ static inline void stm32_i2c_enablefsmc(uint32_t ahbenr)
|
|||
|
||||
static int stm32_i2c_isr(struct stm32_i2c_priv_s *priv)
|
||||
{
|
||||
#ifndef CONFIG_I2C_POLLED
|
||||
uint32_t regval;
|
||||
#endif
|
||||
uint32_t status;
|
||||
|
||||
i2cinfo("I2C ISR called\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue