diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-05 10:42:42 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-05 10:42:42 +0000 |
commit | 4bcff1c283004b10e7a39e855da996621f9eec6d (patch) | |
tree | 426bdb3b35bcee888bab06120d44db4f9d37ff9f | |
parent | 28b3dd95f1a5fe8ea51df21bc6eba7cd5f78c071 (diff) | |
download | ChibiOS-4bcff1c283004b10e7a39e855da996621f9eec6d.tar.gz ChibiOS-4bcff1c283004b10e7a39e855da996621f9eec6d.tar.bz2 ChibiOS-4bcff1c283004b10e7a39e855da996621f9eec6d.zip |
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
-rw-r--r-- | os/hal/include/i2c.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h index 73f633353..1ff50f471 100644 --- a/os/hal/include/i2c.h +++ b/os/hal/include/i2c.h @@ -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
};
|