From c877f5bfcc5301b441c9b13e8c32d83e9df04f37 Mon Sep 17 00:00:00 2001 From: barthess Date: Fri, 19 Aug 2011 22:37:36 +0000 Subject: I2C. Small fix. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3242 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/i2c_lld.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'os/hal/platforms') 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. **********************************/ -- cgit v1.2.3