Merged in david_s5/nuttx-15/david_s5/fixed-typo-and-backward-ifdef-1493853031502 (pull request #345)
Fixed typo and backward ifdef Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
commit
36c7ba83e1
@ -1454,8 +1454,8 @@ static int stm32_i2c_isr_process(struct stm32_i2c_priv_s *priv)
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_I2C_POLLED
|
||||
static int stm32_i2c2_isr(int irq, void *context, FAR void *arg)
|
||||
#ifndef CONFIG_I2C_POLLED
|
||||
static int stm32_i2c_isr(int irq, void *context, FAR void *arg)
|
||||
{
|
||||
struct stm32_i2c_priv_s *priv = (struct stm32_i2c_priv_s *)arg;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user