aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/i2c_lld.h
diff options
context:
space:
mode:
authorbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-08 19:36:35 +0000
committerbarthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-08 19:36:35 +0000
commit16d354e6870b57a1f189fa565918e64c15a458eb (patch)
tree63482ff3e8db56c6c96426429aa42820c06c33cb /os/hal/platforms/STM32/i2c_lld.h
parent55cdd3db536454f7431bd839a7ecc68e388cccdc (diff)
downloadChibiOS-16d354e6870b57a1f189fa565918e64c15a458eb.tar.gz
ChibiOS-16d354e6870b57a1f189fa565918e64c15a458eb.tar.bz2
ChibiOS-16d354e6870b57a1f189fa565918e64c15a458eb.zip
I2C. Added external fields hook in driver.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3769 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/i2c_lld.h')
-rw-r--r--os/hal/platforms/STM32/i2c_lld.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/i2c_lld.h b/os/hal/platforms/STM32/i2c_lld.h
index f2589775d..c3b6c7bba 100644
--- a/os/hal/platforms/STM32/i2c_lld.h
+++ b/os/hal/platforms/STM32/i2c_lld.h
@@ -370,6 +370,9 @@ struct I2CDriver{
Semaphore semaphore;
#endif
#endif /* I2C_USE_MUTUAL_EXCLUSION */
+#if defined(I2C_DRIVER_EXT_FIELDS)
+ I2C_DRIVER_EXT_FIELDS
+#endif
/* End of the mandatory fields.*/
/**
* @brief Thread waiting for I/O completion.