Fixed bug 3436127.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/stable_2.2.x@3689 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
362be5c663
commit
08db7505fe
|
@ -228,7 +228,6 @@ void spi_lld_init(void) {
|
|||
RCC->APB2RSTR = RCC_APB2RSTR_SPI1RST;
|
||||
RCC->APB2RSTR = 0;
|
||||
spiObjectInit(&SPID1);
|
||||
SPID1.spd_thread = NULL;
|
||||
SPID1.spd_spi = SPI1;
|
||||
SPID1.spd_dmarx = STM32_DMA1_CH2;
|
||||
SPID1.spd_dmatx = STM32_DMA1_CH3;
|
||||
|
@ -238,7 +237,6 @@ void spi_lld_init(void) {
|
|||
RCC->APB1RSTR = RCC_APB1RSTR_SPI2RST;
|
||||
RCC->APB1RSTR = 0;
|
||||
spiObjectInit(&SPID2);
|
||||
SPID2.spd_thread = NULL;
|
||||
SPID2.spd_spi = SPI2;
|
||||
SPID2.spd_dmarx = STM32_DMA1_CH4;
|
||||
SPID2.spd_dmatx = STM32_DMA1_CH5;
|
||||
|
@ -248,7 +246,6 @@ void spi_lld_init(void) {
|
|||
RCC->APB1RSTR = RCC_APB1RSTR_SPI3RST;
|
||||
RCC->APB1RSTR = 0;
|
||||
spiObjectInit(&SPID3);
|
||||
SPID3.spd_thread = NULL;
|
||||
SPID3.spd_spi = SPI3;
|
||||
SPID3.spd_dmarx = STM32_DMA2_CH1;
|
||||
SPID3.spd_dmatx = STM32_DMA2_CH2;
|
||||
|
|
|
@ -71,6 +71,7 @@
|
|||
*** 2.2.8 ***
|
||||
- NEW: Added new API chThdExitS() in order to allow atomic operations on
|
||||
thead exit.
|
||||
- FIX: Fixed Extra initialization in STM32 SPI driver (bug 3436127).
|
||||
- FIX: Fixed DMA priority setting error in STM32 UART driver (bug 3436125).
|
||||
- FIX: Fixed DMA priority setting error in STM32 SPI driver (bug 3436124).
|
||||
- FIX: Fixed broken support for UART5 in STM32 serial driver (bug 3434094).
|
||||
|
|
Loading…
Reference in New Issue