Skip to content

Commit 977b6e8

Browse files
committed
Fixed CS pin pullup release
1 parent b203c02 commit 977b6e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hal/spi/spi_drv_stm32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static void spi_pins_release(void)
112112

113113
/* Release CS */
114114
SPI_PIO_CS_MODE &= ~ (0x03 << (SPI_CS_FLASH * 2));
115-
SPI_PIO_CS_PUPD &= ~ (0x03 << (SPI_CS_TPM * 2));
115+
SPI_PIO_CS_PUPD &= ~ (0x03 << (SPI_CS_FLASH * 2));
116116

117117
}
118118

0 commit comments

Comments
 (0)