mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
The I2C_TRANSFER method is no longer optional
This commit is contained in:
@@ -43,8 +43,6 @@
|
||||
|
||||
#include <nuttx/i2c/i2c_master.h>
|
||||
|
||||
#if defined(CONFIG_I2C_TRANSFER)
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
@@ -91,4 +89,3 @@ int i2c_write(FAR struct i2c_master_s *dev,
|
||||
return I2C_TRANSFER(dev, &msg, 1);
|
||||
}
|
||||
|
||||
#endif /* CONFIG_I2C_TRANSFER */
|
||||
Reference in New Issue
Block a user