mirror of
https://github.com/apache/nuttx.git
synced 2026-09-04 08:04:02 +00:00
CONFIG_I2C_RESET dummy function
This commit is contained in:
parent
82c865e2b0
commit
264fbc1ecc
1 changed files with 16 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue