mirror of https://github.com/rusefi/ChibiOS.git
I2C. Added optional fields hook to I2CSlaveConfig structure.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3189 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
28b3dd95f1
commit
4bcff1c283
|
@ -145,6 +145,9 @@ struct I2CSlaveConfig{
|
||||||
* If set to @p NULL then the callback is disabled.
|
* If set to @p NULL then the callback is disabled.
|
||||||
*/
|
*/
|
||||||
i2cerrorcallback_t id_err_callback;
|
i2cerrorcallback_t id_err_callback;
|
||||||
|
#if defined(I2C_SLAVECONFIG_EXT_FIELDS)
|
||||||
|
I2C_SLAVECONFIG_EXT_FIELDS
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue