mirror of https://github.com/rusefi/ChibiOS.git
Fixed bug #673.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8529 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
acdfdf158b
commit
88247bf5e9
|
@ -164,8 +164,8 @@ static void i2c_lld_setup_rx_transfer(I2CDriver *i2cp) {
|
||||||
|
|
||||||
/* Configures the CR2 registers with both the calculated and static
|
/* Configures the CR2 registers with both the calculated and static
|
||||||
settings.*/
|
settings.*/
|
||||||
dp->CR2 = (dp->CR2 & ~I2C_CR2_NBYTES) | i2cp->config->cr2 | I2C_CR2_RD_WRN |
|
dp->CR2 = (dp->CR2 & ~(I2C_CR2_NBYTES | I2C_CR2_RELOAD)) | i2cp->config->cr2 |
|
||||||
(n << 16U) | reload;
|
I2C_CR2_RD_WRN | (n << 16U) | reload;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -192,7 +192,7 @@ static void i2c_lld_setup_tx_transfer(I2CDriver *i2cp) {
|
||||||
|
|
||||||
/* Configures the CR2 registers with both the calculated and static
|
/* Configures the CR2 registers with both the calculated and static
|
||||||
settings.*/
|
settings.*/
|
||||||
dp->CR2 = (dp->CR2 & ~I2C_CR2_NBYTES) | i2cp->config->cr2 |
|
dp->CR2 = (dp->CR2 & ~(I2C_CR2_NBYTES | I2C_CR2_RELOAD)) | i2cp->config->cr2 |
|
||||||
(n << 16U) | reload;
|
(n << 16U) | reload;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -135,6 +135,8 @@
|
||||||
- HAL: Updated STM32F0xx headers to STM32CubeF0 version 1.3.0. Added support
|
- HAL: Updated STM32F0xx headers to STM32CubeF0 version 1.3.0. Added support
|
||||||
for STM32F030xC, STM32F070x6, STM32F070xB, STM32F091xC,
|
for STM32F030xC, STM32F070x6, STM32F070xB, STM32F091xC,
|
||||||
STM32F098xx devices.
|
STM32F098xx devices.
|
||||||
|
- HAL: Fixed STM32 I2Cv2 driver fails on transfers greater than 255 bytes
|
||||||
|
(bug #673)(backported to 3.0.4).
|
||||||
- HAL: Fixed STM32 I2Cv2 DMA conflict (bug #671)(backported to 3.0.4).
|
- HAL: Fixed STM32 I2Cv2 DMA conflict (bug #671)(backported to 3.0.4).
|
||||||
- HAL: Fixed I2S clock selection not working in STM32F4xx HAL (bug #667)
|
- HAL: Fixed I2S clock selection not working in STM32F4xx HAL (bug #667)
|
||||||
(backported to 3.0.4 and 2.6.10).
|
(backported to 3.0.4 and 2.6.10).
|
||||||
|
|
Loading…
Reference in New Issue