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:
barthess 2011-08-05 10:42:42 +00:00
parent 28b3dd95f1
commit 4bcff1c283
1 changed files with 3 additions and 0 deletions

View File

@ -145,6 +145,9 @@ struct I2CSlaveConfig{
* If set to @p NULL then the callback is disabled.
*/
i2cerrorcallback_t id_err_callback;
#if defined(I2C_SLAVECONFIG_EXT_FIELDS)
I2C_SLAVECONFIG_EXT_FIELDS
#endif
};