Merged in juniskane/nuttx_stm32l4/stm32l4_i2c_pr (pull request #346)
STM32L4: stm32l4_i2c: change wrong macro to CONFIG_I2C_POLLED Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
commit
92f4277b1e
@ -1532,7 +1532,7 @@ static int stm32l4_i2c_isr_process(struct stm32l4_i2c_priv_s *priv)
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef CONFIG_STM32L4_I2C2
|
||||
#ifndef CONFIG_I2C_POLLED
|
||||
static int stm32l4_i2c_isr(int irq, void *context, FAR void *arg)
|
||||
{
|
||||
struct stm32l4_i2c_priv_s *priv = (struct stm32l4_i2c_priv_s *)arg;
|
||||
|
Loading…
Reference in New Issue
Block a user