diff options
Diffstat (limited to 'os')
-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. **********************************/ |