Skip to content

Commit 35bd858

Browse files
committed
Minor fix for L4 family
1 parent 251a378 commit 35bd858

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/PDPhySTM32L4.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,6 @@ int PDPhySTM32L4::decodeChunk(int currentIndex) {
534534
void PDPhySTM32L4::initTx() {
535535
// enable clock for SPI1
536536
RCC->APB2ENR |= RCC_APB2ENR_SPI1EN;
537-
// enable clock for DMA2
538-
RCC->AHB1ENR |= RCC_AHB1ENR_DMA2EN;
539537
// enable clock for GPIOA and GPIOB
540538
RCC->AHB2ENR |= RCC_AHB2ENR_GPIOAEN | RCC_AHB2ENR_GPIOBEN;
541539

0 commit comments

Comments
 (0)