We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85cee9f commit ba32313Copy full SHA for ba32313
cores/arduino/stm32/spi_com.c
@@ -118,7 +118,7 @@ uint32_t spi_getClkFreqInst(SPI_TypeDef * spi_inst)
118
if(spi_inst != NP) {
119
/* Get source clock depending on SPI instance */
120
switch ((uint32_t)spi_inst) {
121
-#if defined(SPI1_BASE) || defined(SPI4_BASE) || defined(SPI5_BASE) || defined(SPI16_BASE)
+#if defined(SPI1_BASE) || defined(SPI4_BASE) || defined(SPI5_BASE) || defined(SPI6_BASE)
122
/* Some STM32's (eg. STM32F302x8) have no SPI1, but do have SPI2/3. */
123
#if defined SPI1_BASE
124
case (uint32_t)SPI1:
0 commit comments