From 264fbc1ecc827491fba2d43037c68c1986bff66d Mon Sep 17 00:00:00 2001 From: Lok Tep Date: Mon, 7 Dec 2015 23:12:40 +0100 Subject: [PATCH] CONFIG_I2C_RESET dummy function --- arch/arm/src/lpc43xx/lpc43_i2c.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/src/lpc43xx/lpc43_i2c.c b/arch/arm/src/lpc43xx/lpc43_i2c.c index 0b9efffa7d..d4adfdcc9b 100644 --- a/arch/arm/src/lpc43xx/lpc43_i2c.c +++ b/arch/arm/src/lpc43xx/lpc43_i2c.c @@ -630,4 +630,20 @@ int up_i2cuninitialize(FAR struct i2c_dev_s * dev) return OK; } + +/************************************************************************************ + * Name: up_i2creset + * + * Description: + * Reset an I2C bus + * + ************************************************************************************/ + +#ifdef CONFIG_I2C_RESET +int up_i2creset(FAR struct i2c_dev_s * dev) +{ + return OK; +} +#endif /* CONFIG_I2C_RESET */ + #endif /* CONFIG_LPC43_I2C0 || CONFIG_LPC43_I2C1 */