Skip to content

Commit 835345b

Browse files
committed
library: spi: add STM32U5xx support
use register definition instead of serie name Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent df67198 commit 835345b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SPI/src/utility/spi_com.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ struct spi_s {
5656
PinName pin_mosi;
5757
PinName pin_sclk;
5858
PinName pin_ssel;
59-
#if defined(STM32H7xx) || defined(STM32MP1xx)
59+
#if defined(SPI_IFCR_EOTC)
6060
// Delay before disabling SPI.
6161
// See https://github.com/stm32duino/Arduino_Core_STM32/issues/1294
6262
uint32_t disable_delay;

0 commit comments

Comments
 (0)