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:
Juha Niskanen 2017-05-04 19:29:08 +00:00 committed by Gregory Nutt
commit 92f4277b1e

View File

@ -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;