mirror of https://github.com/rusefi/ChibiOS.git
Fix bug #1082
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13524 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
9650f55a1a
commit
5609843e93
|
@ -482,7 +482,7 @@ struct I2CDriver {
|
|||
* @brief TX DMA mode bit mask.
|
||||
*/
|
||||
uint32_t txdmamode;
|
||||
#if defined(STM32_I2C_DMA_REQUIRED) && defined(STM32_I2C_BDMA_REQUIRED)
|
||||
#if defined(STM32_I2C_DMA_REQUIRED) && defined(STM32_BDMA_REQUIRED)
|
||||
/**
|
||||
* @brief DMA type for this instance.
|
||||
*/
|
||||
|
@ -499,7 +499,7 @@ struct I2CDriver {
|
|||
const stm32_dma_stream_t *dma;
|
||||
#endif
|
||||
#if (STM32_I2C4_USE_BDMA == TRUE) || defined(__DOXYGEN__)
|
||||
#if defined(STM32_I2C_BDMA_REQUIRED) || defined(__DOXYGEN__)
|
||||
#if defined(STM32_BDMA_REQUIRED) || defined(__DOXYGEN__)
|
||||
/**
|
||||
* @brief Receive BDMA stream.
|
||||
*/
|
||||
|
@ -518,7 +518,7 @@ struct I2CDriver {
|
|||
const stm32_dma_stream_t *dma;
|
||||
#endif
|
||||
#if (STM32_I2C4_USE_BDMA == TRUE) || defined(__DOXYGEN__)
|
||||
#if defined(STM32_I2C_BDMA_REQUIRED) || defined(__DOXYGEN__)
|
||||
#if defined(STM32_BDMA_REQUIRED) || defined(__DOXYGEN__)
|
||||
/**
|
||||
* @brief Transmit DMA stream.
|
||||
*/
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** Next ***
|
||||
- FIX: Corrected I2C4 BDMA #define conditional in I2Cv3 (bug #1082)
|
||||
- RT: Relocated the "ctx" field in the thread structure in order to save
|
||||
some RAM, it caused unused space in the "ch" variable.
|
||||
- EX: Added support for ADXL355 Low Noise, Low Drift, Low Power, 3-Axis
|
||||
|
|
Loading…
Reference in New Issue