diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-19 22:37:36 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-08-19 22:37:36 +0000 |
commit | c877f5bfcc5301b441c9b13e8c32d83e9df04f37 (patch) | |
tree | df7a2b219873f28b64e7dcc49fcb0d5cf9e1a707 | |
parent | 9bc63715a08a8deeb3f9afe3cf646302a21d02b4 (diff) | |
download | ChibiOS-c877f5bfcc5301b441c9b13e8c32d83e9df04f37.tar.gz ChibiOS-c877f5bfcc5301b441c9b13e8c32d83e9df04f37.tar.bz2 ChibiOS-c877f5bfcc5301b441c9b13e8c32d83e9df04f37.zip |
I2C. Small fix.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3242 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/platforms/STM32/i2c_lld.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/i2c_lld.h b/os/hal/platforms/STM32/i2c_lld.h index 38b9add05..9bf56985c 100644 --- a/os/hal/platforms/STM32/i2c_lld.h +++ b/os/hal/platforms/STM32/i2c_lld.h @@ -208,7 +208,9 @@ struct I2CDriver{ uint8_t slave_addr1;/*!< @brief 7-bit address of the slave with r\w bit.*/ uint8_t slave_addr2;/*!< @brief Uses in 10-bit address mode. */ +#if CH_USE_EVENTS EventSource sevent; /*!< @brief Status Change @p EventSource.*/ +#endif /*********** End of the mandatory fields. **********************************/ |